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

Musachy Barroso resolved WW-3263.
---------------------------------

    Resolution: Fixed

> Convention does not check for "struts.enable.SlashesInActionNames"
> ------------------------------------------------------------------
>
>                 Key: WW-3263
>                 URL: https://issues.apache.org/struts/browse/WW-3263
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: Musachy Barroso
>            Assignee: Musachy Barroso
>             Fix For: 2.1.9
>
>
> given this class:
> package actions.testc;
> import org.apache.struts2.convention.annotation.Action;
> import org.apache.struts2.convention.annotation.Namespace;
> @Namespace("/")
> public class TestAction {
>     private String name;
>     @Action("/name/something")
>     public String something() throws Exception {
>         return "success";
>     }
>     public String getName() {
>         return name;
>     }
>     public void setName(String name) {
>         this.name = name;
>     }
>  }
> convention will set the namespace of the action to "name" instead of "/"

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