Suppose i have this in a Struts Action class

 * @struts.action path="/User/LoadCreate"
 *                         name="EmployeeCrudForm"
 *                         input="/global/error.jsp"
 *                         scope="request"
 *                         validate="false"


and also have another class that extends the one above

 * @struts.action path="/Employee/LoadCreate"
 *                         name="EmployeeCrudForm"
 *                         input="/global/error.jsp"
 *                         scope="request"
 *                         validate="false"

then the generated struts-config.xml mapping for the first Action is cool:

<action path="/User/LoadCreate" type="foo.bar.UserLoadCreateAction"

but for the second class, two mappings are generated:

<action path="/Employee/LoadCreate" type="foo.bar.EmployeeLoadCreateAction"

which is right, and

<action path="/User/LoadCreate" type="foo.bar.EmployeeLoadCreateAction"

whis points to the subclass but uses the path of the superclass, making 
it inaccessible.

Any ideas what am i missing here?

Many thanks,

Manos

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to