mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Changes namespace to be optional parameter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1086842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -38,7 +38,7 @@ public class RestActionProxyFactory extends DefaultActionProxyFactory {
|
||||
|
||||
protected String namespace = "/";
|
||||
|
||||
@Inject(STRUTS_REST_NAMESPACE)
|
||||
@Inject(value = STRUTS_REST_NAMESPACE, required = false)
|
||||
public void setNamespace(String namespace) {
|
||||
this.namespace = namespace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user