[ 
https://issues.apache.org/jira/browse/WW-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-3343:
------------------------------

    Fix Version/s: Future
    
> multiple forms on a single page renders wrong namespace in form action url
> --------------------------------------------------------------------------
>
>                 Key: WW-3343
>                 URL: https://issues.apache.org/jira/browse/WW-3343
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.8.1
>            Reporter: Wes Wannemacher
>             Fix For: Future
>
>         Attachments: testForm.zip
>
>
> so, this has been bugging me for a while, I decided to test it out. A JSP 
> like that contains something like the following - 
> <%@ taglib uri="/struts-tags" prefix="s" %>
> <html>
> <body>
> <h2>Hello World!</h2>
> <s:form action="foo" namespace="/">
> <s:submit />
> </s:form>
> <s:form action="bar" namespace="/baz">
> <s:submit />
> </s:form>
> </body>
> </html>
> When the page is rendered, the second form will not respect the /baz 
> namespace. I created a sample app and will upload it here. I suspect the 
> ServletUrlRenderer is the culprit, but I'll research more. If someone gets 
> this fixed before me, that's fine, I wanted to post it to JIRA quick because 
> this bug is a pain in my tuches. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to