In you action class you can set an object into the request using
request.setAttribute().  This object could be of a generic type that you
could examine in the jsp using a jsp:usebean tag to extract the object from
the request.  The action class always forwards the request object it has
back to the JSP so the object that you set in it will exist in the JSP that
you have forwarded to

HTH

Jin
----- Original Message -----
From: "Mohammed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2001 9:16 AM
Subject: Action and Jsp / passing Parameters


> Hello everybody,
>
> In my web application I decided not to use frames and so I am using a
table
> in a jsp file. my question is as follow:
>
> in the jsp file I want to know which action forwarded to this jsp file so
> that I will accordingly run the right code? Is der a way I could pass a
> Parameter from my Action class to the jsp file I am forwarding to ?
Actually
> I want to include the corresponding  jsp file into my main jsp file
> according to where the forward came from.
>
> Thanks for any Help
>
> Mohammed
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to