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:34:40 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...





> >        try
> >        {
> >System.out.println( "REQ : getRequestURI   : " +
> request.getRequestURI()
> >);
> >            String filteredURL = "/hal"+request.getRequestURI(); 
> >System.out.println( filteredURL );
> >            //chain.doFilter(request, response);
> >
> >response.sendRedirect(response.encodeRedirectURL(filteredURL));
> 
> 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).
> 
> So you get the image forward URLs in your System.out output?
> 
> Yoav Shapira
> 
> 
> 
> This e-mail, including any attachments, is a confidential 
> business communication, and may contain information that is 
> confidential, proprietary and/or privileged.  This e-mail is 
> intended only for the individual(s) to whom it is addressed, 
> and may not be saved, copied, printed, disclosed or used by 
> anyone else.  If you are not the(an) intended recipient, 
> please immediately delete this e-mail from your computer 
> system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
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