DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30075>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30075

Struts is using request.getContextPath() to try to generate correct URLs/URIs.  This 
fails if the server is accesed through a proxy.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |



------- Additional Comments From [EMAIL PROTECTED]  2004-07-23 19:33 -------
I like Ted's analysis much better.  

Despite the fact that the servlet spec says the RequestURI = ContextPath + 
ServletPath + PathInfo, we have over 20 non-Struts applications working just 
fine sitting behind the same proxy.  Honestly I think the servlet spec is not 
real world focused, especially when a large companies Internet web and app 
server network infrastructure comes into play. 

Also the suggestion of:
-------------------------
'Your best bet would be to change your app server to use a context path of
"/jsp/webapp" instead of "/webapp".' 
-------------------------
won't work.  If we did that then the new 'proxy context path' would 
become /jsp/jsp/webapp and Struts would be generating an incorrect context path 
of /jsp/webapp which would still result in 404's.

I guess if my only choice is to patch each Struts version as it comes out, 
that's what I'll have to do, but please reconsider fixing this.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to