You just asked this question a couple of days ago and even got a reply....

http://marc.theaimsgroup.com/?l=struts-user&m=104436215626677&w=2

Sri

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