tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Ward" <cw...@horizon-asset.co.uk>
Subject RE: Repeated "load-on-startup" niggle
Date Fri, 23 Jan 2004 17:41:48 GMT

> 
> Hmm, that's strange.  Enable the AccessLogValve (in 
> server.xml) so that you can see what's actually being 
> requested from the server.
> 

Seems to request both versions...

 - - [23/Jan/2004:17:31:22 00] "GET /images/buttons/Delete.gif HTTP/1.1"
302 -
 - - [23/Jan/2004:17:31:22 00] "GET /images/buttons/Clone.gif HTTP/1.1"
302 -
 - - [23/Jan/2004:17:31:22 00] "GET /hal/images/buttons/Delete.gif
HTTP/1.1" 304 -
 - - [23/Jan/2004:17:31:22 00] "GET /hal/images/buttons/Clone.gif
HTTP/1.1" 304 -
 - - [23/Jan/2004:17:31:22 00] "GET /images/buttons/Filter.gif HTTP/1.1"
302 -
 - - [23/Jan/2004:17:31:22 00] "GET /hal/images/buttons/Filter.gif
HTTP/1.1" 304 -

Or is this what you'd expect to see (i.e. a before and after)?

I'm not convinced my Filter is correct since there are other things that
have not had the "/hal" added to them...

 - - [23/Jan/2004:17:31:22 00] "GET /stylesheets/HAL_Styles.css
HTTP/1.1" 302 -
 - - [23/Jan/2004:17:31:22 00] "GET /JavaScript/HAL_CommonJavaScript.js
HTTP/1.1" 302 -

I was kinda hoping there would be nothing other than "/hal/........"
entries in
here.




> It might not matter to you, but I think this code would drop 
> the query string from the forward URL.  Test to make sure it 
> doesn't, or it if does add the request.getQueryStrign() to 
> filterURL (before encoding).

Ah. True.  Thanks for the tip.


> So you get the image forward URLs in your System.out output?

Oddly, yes...

	...
	REQ : getRequestURI   : /images/buttons/Filter.gif
	/hal/images/buttons/Filter.gif
	...


Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message