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

Lukasz Lenart updated WW-4678:
------------------------------
    Description: 
{code:xml}
<s:form action="test" includeContext="true" namespace="/compte" theme="simple">
    <s:textfield name="toto"></s:textfield>
    <s:submit type="button" value="Submit"/>
</s:form>

<s:url var="urlPage" action="test" namespace="/compte">
    <s:param name="toto">toto</s:param>
</s:url>
<s:a href="%{urlPage}"> ici</s:a>
{code}

if i submit the form, the result is a 404 error, struts can't go into my action 
java. But if i click on the <a> url it's ok, I have the same result if i force 
get method to the form.

Thanks

  was:
<s:form action="test" includeContext="true" namespace="/compte" theme="simple">
                        <s:textfield name="toto"></s:textfield>
                        <s:submit type="button" value="Submit"/>
                </s:form>
                <s:url var="urlPage" action="test" namespace="/compte">
                        <s:param name="toto">toto</s:param>
                </s:url>
                    <s:a href="%{urlPage}"> ici</s:a>
if i submit the form, the result is a 404 error, struts can't go into my action 
java. But if i click on the <a> url it's ok, I have the same result if i force 
get method to the form.

Thanks


> Post method doesn't work
> ------------------------
>
>                 Key: WW-4678
>                 URL: https://issues.apache.org/jira/browse/WW-4678
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.5.2
>            Reporter: Florian Laluque
>
> {code:xml}
> <s:form action="test" includeContext="true" namespace="/compte" 
> theme="simple">
>     <s:textfield name="toto"></s:textfield>
>     <s:submit type="button" value="Submit"/>
> </s:form>
> <s:url var="urlPage" action="test" namespace="/compte">
>     <s:param name="toto">toto</s:param>
> </s:url>
> <s:a href="%{urlPage}"> ici</s:a>
> {code}
> if i submit the form, the result is a 404 error, struts can't go into my 
> action java. But if i click on the <a> url it's ok, I have the same result if 
> i force get method to the form.
> Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to