RE: ActionForward with runtime parameter?

2004-07-08 Thread Robert Taylor
gt;In this case I think that its definately parameters that Twan is after, so > >the new ActionForward technique is the way to go. > > > >-Original Message- > >From: Geeta Ramani [mailto:[EMAIL PROTECTED] > >Sent: Thursday, 8 July 2004 20:21 > >To: Struts

RE: ActionForward with runtime parameter?

2004-07-08 Thread Twan Kogels
lto:[EMAIL PROTECTED] Sent: Thursday, 8 July 2004 20:21 To: Struts Users Mailing List Subject: RE: ActionForward with runtime parameter? Just a couple of small notes here though, (added for the Struts beginner): you will be setting and getting a "attribute" not a "parameter". Also

RE: ActionForward with runtime parameter?

2004-07-08 Thread Andrew Hill
2004 20:21 To: Struts Users Mailing List Subject: RE: ActionForward with runtime parameter? Just a couple of small notes here though, (added for the Struts beginner): you will be setting and getting a "attribute" not a "parameter". Also you will need to set/get it as a

RE: ActionForward with runtime parameter?

2004-07-08 Thread Geeta Ramani
o:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 8:29 AM > To: 'Struts Users Mailing List' > Subject: RE: ActionForward with runtime parameter? > > > Hi, > > Set id and it's value in request object and just forward to > mapping.findForward("

RE: ActionForward with runtime parameter?

2004-07-08 Thread Kailash Vasani
Hi, Set id and it's value in request object and just forward to mapping.findForward("success"). In ur target page (where u r forwarding), get the value for parameter (id) from request object. that should do the trick Kailash -Original Message- From: Twan Kogels [mailto:[EMAIL PROTECTED

RE: ActionForward with runtime parameter?

2004-07-08 Thread Andrew Hill
Yep. Pretty much so. Its what we all do. :-) Those who do it often tend to bang up some utility code to reduce the typing but the end result is pretty much the same. You may wish to use the other constructor for ActionForward and preserve the redirect flag. ie: ActionForward fwd = mapping.findFor