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] [Created] (WW-4678) Post method doesn't work
Date Thu, 18 Aug 2016 08:12:20 GMT
Florian Laluque created WW-4678:
-----------------------------------

             Summary: 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


<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



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

Mime
View raw message