I posted this earlier, but it never seemed to come though, so I'll try again:
I am - and it's awesome. The only issue (IMO) in XDoclet's current codebase is that you can only generate Struts' Forms from Entity Beans at this point. I've submitted a patch for it (http://tinyurl.com/5bb9), but no one has committed it yet. If you're interested in using this patch, you can find out more about it on my site at http://tinyurl.com/5bbh (this also includes a link to download the patched code). This patch allows you to generate Struts' Forms from any POJO (Plain Old Java Object). I've published a sample app (struts-resume) that can be checked out from CVS at http://sf.net/projects/struts. This project generates Struts Validator Forms from POJOs, the validation.xml, and the struts-config.xml using XDoclet. Pretty slick stuff IMHO. The project also uses a strutsgen tool written by Erik Hatcher. This tool will generate a skeleton JSP and .properties file from a Form - really speeding up development time. I discovered this tool, as well as a very slick <label> JSP Tag by investigating Erik's JavaDevWithAnt project at http://www.ehatchersolutions.com/JavaDevWithAnt/. HTH, Matt > -----Original Message----- > From: Pat Quinn [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 12:27 PM > To: [EMAIL PROTECTED] > Subject: xdoclet with struts > > > Hi guys, > > Is anyone out there using xdoclet with struts?? I've had a > look a some > samples that come with xdoclet eg below..... any comments on this > approach??? I assume it generates the struts-config.xml??? If > so its a > rather nice way to keep your deployment settings with your > source code.... > > > /** > * Simple class to test Jakarta Struts generation (Jakarta > Struts 1.2 beta 2 > only). > * > * @struts.action > * path="/struts/bar" > * > * @struts.action-forward > * name="success" > * path="/struts/getAll.do" > * redirect="false" > * > */ > public final class StrutsDispatchAction extends DispatchAction > { > public ActionForward execute(ActionMapping mapping, > ActionForm form, > HttpServletRequest request, > HttpServletResponse response) > { > return mapping.findForward("success"); > } > } > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]