tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Watts <...@cliftonfarm.org>
Subject Re: "/" getting added to action path
Date Tue, 05 Jun 2012 22:21:10 GMT
On Tue, 2012-06-05 at 17:37 -0400, Dharamshila Khandelwal wrote:
> Hi,
> 
> I am doing testing of a web application on IE 8.
> I am not able to load any images, css, etc. because "/" is getting added in
> front of action path.
> 
> For example, when trying to load the following script,
> <script language="JavaScript" src="include/mm_menu.js"></script>
> It gives me the following error  in tomcat logs:
> [ERROR] RequestProcessor - -Invalid path /include/mm_menu.js was requested
> 
> The document base is /uom. Instead of finding this script under /uom, its
> finding it under /.
> 
So in IE the HTML shows 

	src="include/mm_menu.js"

but TomCat gets a request for
	/include/mm_menu.js

Is that right?

Does the offending page use a <base> tag?


> I am not sure how to fix this problem, can someone please help?
> 
> Thanks,
> DS.


Mime
View raw message