If you just want to reuse Struts ForwardAction you are able place them into
a merge file.  Create the file struts-actions.xml and place your
ForwardActions  there. 
In order to get the file merge whenever webdoclet run you have to configure
the directory where your merge files are located (see xdoclet web site).
 
Hope that helps.

-----Urspr�ngliche Nachricht-----
Von: Brian McSweeney [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 11. M�rz 2003 12:55
An: [EMAIL PROTECTED]
Betreff: Re: [Xdoclet-user] Struts Action Forward Usage

sorry, got a bit confused. I want to use the ForwardAction (not the
ActionForward) class and 
I wonder if there is a way you can do this with xdoclet?

----- Original Message ----- 
From: Brian McSweeney <mailto:[EMAIL PROTECTED]>  
To: xdoclet <mailto:[EMAIL PROTECTED]>  
Sent: Tuesday, March 11, 2003 10:16 AM
Subject: [Xdoclet-user] Struts Action Forward Usage

Hi all,
 
I want to collect information from several jsps in a row (like with a
wizard). 
I'm using struts and rather than write an action class for each one that
forwards onto 
the next jsp, I'd like to use the Struts ActionForward for this (seeing as
that's what it's 
for). However, when using xdoclet I'm not sure where I should put the 
 
@struts.action-forward tag.
 
Seeing as the tag is used only for the struts-config.xml file, I presume I
don't put it in 
an action class as this would defeat the whole purpose of using the
ActionForward. 
Do I put it somewhere in my build file? Hope this makes sense.
Cheers,
Brian



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to