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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13878

Form tag eats action value with default servlet mapping





------- Additional Comments From [EMAIL PROTECTED]  2002-10-27 22:17 -------
I would say that the comment from the original bug author is right:  
"[...] suggests that you map the servlet to a URL that includes either   
some prefix or suffix, such as "/exec" or "*.do" [...] unacceptable [...]"  
I prefer straight urls too. A well designed web-app does not make transparent  
to the user, where some servlets are called, since it can be a possible  
point of attack. 
Sorry that I duplicated the bug, but bugzilla is really *NOT* well suited to 
locate existent bugs. :o( 
 
The part of the servlet spec 
"* A string containing only the '/' character indicates the "default" servlet 
of the application. In this case the servlet path is the request URI minus the 
context path and the path info is null." 
only refers to the servlet mapping. URLs relative to the servlet mapping 
should be resolved correctly anyway. BTW: The servlet mapping as described by 
the spec is a completely unsatisfactory solution - a plain regexp pattern 
would suite some requirements significantly better. 
Furthermore the description is ambigous: If there are concurrent mappings it 
is not clear, whether the closest or the widest match should considered to be 
a hit. Any reasonable impl. would catch the *closest* match imho. The tomcat 
impl. doesnt (sic!). The best way to circumvent this is to leave all the URL 
mapping to httpd (mod_rewrite) and contact the plain vanilla web app via 
mod_proxy or mod_jk2.

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to