struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-3263) Convention does not check for "struts.enable.SlashesInActionNames"
Date Fri, 25 Sep 2009 18:54:48 GMT

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


Mime
View raw message