I'd just like to note that while it is very slick to generate a
struts-config.xml file in this manner for development purposes, its really
munging the MVC layers.  Decoupling action classes from how they are
forwarded to is an important concept.  I think this use of XDoclet is good
for rapid prototyping though, and certainly don't want to dismiss it - but
its not very realistic for larger applications and Action class reuse by
multiple action mappings, for example.

    Erik



----- Original Message -----
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
To: "Kjetil Paulsen" <[EMAIL PROTECTED]>; "XDoclet (E-mail)"
<[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 3:22 AM
Subject: Re: [Xdoclet-user] Forward in a Struts action


> try
>
> @struts:action-forward name="forwardName" path="forwardPath"
>
> cheers
> dim
>
> ----- Original Message -----
> From: "Kjetil Paulsen" <[EMAIL PROTECTED]>
> To: "XDoclet (E-mail)" <[EMAIL PROTECTED]>
> Sent: Friday, February 08, 2002 7:00 PM
> Subject: [Xdoclet-user] Forward in a Struts action
>
>
> I can't find that the @struts:action tag have a field for setting the
> forward target inside an action, is not supposed to - or am I missing
> something critical here? (maybe this is merged if specified in the
> struts-actions.xml..?)
>
>
> @struts:action
> name="securityTest"
> path="/login/test"
> scope="request"
> input="/login/test.do"
> validate="false"
>
> <action
>      ....fields....
> -->        <forward name="success" path="/main/success.jsp"/>
> </action>
>
>
>
> /kjetilhp
>
> ......mogul.technology..............................................
>  mogul technology as > kjetil h.paulsen - senior software architect
>  drammensveien 134, NO-0277 oslo, norway
>  cell +47 93060327, tel +4724114300, fax +4724114399
>  [EMAIL PROTECTED], http://www.mogul.com
>  PGP fingerprint: DA54 A106 1989 FEF0 294F  63A4 9FC6 0F8E 21AD 0180
>  ICQ -> 66288365
> ..............................................mogul.technology......
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to