Hi,
I want to use XDoclet to create struts-config.xml
but it is not working.
This is from my build.xml file :
<webdoclet destdir="${dest.dir}">
<fileset dir="${src.dir}">
<include name="**/*.java" />
</fileset>
<deploymentdescriptor />
<strutsconfigxml version="1.1" />
</webdoclet>
On my .java file I have the tags :
/**
* @struts.action
* path="/myTestAction"
*
* @struts.action-forward
* name="success"
* path="/hello.jsp"
*/
public class MyTestAction {
public ActionForward execute(ActionMapping
actionMapping, ActionForm actionForm,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
return actionMapping.findForward("success");
}
}
It creates a struts-config.xml but it is without a
reference to the "MyTestAction".
TIA.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user