struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Laluque (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4678) Post method doesn't work
Date Fri, 19 Aug 2016 11:07:22 GMT

    [ https://issues.apache.org/jira/browse/WW-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15427999#comment-15427999
] 

Florian Laluque commented on WW-4678:
-------------------------------------

it's ok with get method but i don't know why it doesn't work in post mode

> 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
>             Fix For: 2.5.3
>
>
> {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)

Mime
View raw message