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=16565>.
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=16565

Incorrect path returned by getActionMappingName due to filename extension stripping

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Enhancement



------- Additional Comments From [EMAIL PROTECTED]  2003-02-01 16:01 -------
The "path" you pass to the <html:form> action attribute is not a url, it's a lookup 
key into the 
Action table.  Struts generates a proper url for you based on the type of mapping you 
select (prefix 
or file extension).  It strips the file extension so that you can put /myAction.do or 
just 
/myAction in the action attribute.  

It does seem arbitrary to strip a piece of the key though.  


I'm not sure why you want your pages to look static but you could try mapping *.html 
to the 
Struts servlet.  Also, using the .do path extension does not reveal anything about 
what 
technology you're using to generate the page.  It could be a static html file.

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

Reply via email to