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

Don Brown resolved WW-1874.
---------------------------

    Resolution: Not A Problem

Use the "method" attribute on the form tag to specify the method.

> form tag action attribute doesn't work for command url
> ------------------------------------------------------
>
>                 Key: WW-1874
>                 URL: https://issues.apache.org/struts/browse/WW-1874
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.6
>            Reporter: dapeng.ni
>
> I set extension name to *.do in propperties file. It works if I type url in 
> address bar (such as " http://www.mydomain.com/mycontext/abc.do";)
> In html page, I want to use command mode url in form:
> <s:form action="/myns/product!create">
> Expected code is 
> action="/mycontext/myns/product!create.do"
> but it broken on "!" , it rendered like:
> action="/mycontext/myns/product"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to