i've been reading the doc over and over. and something is not working.
according to the doc, you can specify the Namespace and ResultPath in
the package-info.java file.
@Namespace("/admin")
package my.package
theoretically, all action class under this package (just this package
and no sub-package
i have an Action class in the package
com.company.web.struts.actions.admin.LoginAction. inside LoginAction,
i use Annotation to specify the Action (i.e. @Action(value="/login")
on a method. according to the documentation at,
http://struts.apache.org/2.1.8.1/docs/convention-plugin.html, this
should
2 matches
Mail list logo