I'll tell you one thing, you'll have to wait a while if it's only usable
with Struts 1.2 beta 2 ... 

I knew those xdoclet developers were smart, but this is incredible...

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -----Original Message-----
> From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 06, 2003 1: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]

Reply via email to