You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "dapeng.ni (JIRA)" <ji...@apache.org> on 2007/04/07 13:57:52 UTC

[jira] Created: (WW-1874) form tag action attribute doesn't work for command url

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.


[jira] Resolved: (WW-1874) form tag action attribute doesn't work for command url

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ 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.