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

action path with a period (.) is not read correctly

           Summary: action path with a period (.) is not read correctly
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I have 2 action mappings in my struts-config with the same prefix, the first 
one is chosen as the mapping in my form.

For instance, if I have

<action path="test" .../>
<action path="test.second" .../>

And in my JSP, I use:

<html:form action="/test.second">

The JSP will render HTML as 

<form name="formName" method="POST" action="/servletContext/do/test">  

when I am expecting:

<form name="formName" method="POST" action="/servletContext/do/test.second"> 

A simple workaround is to not use a period (.) in the path value, but thought 
I'd let you know.

Matt

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

Reply via email to