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
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
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
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("
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
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
6 matches
Mail list logo