Thanx for the reply yong, 
I understood the first part about the action method extracting the data using
rundata.getParameters().get... 
but I couldn't quite understand how to use setTemplate method. I am getting some
errors when I try and use the method. May be someone can give me a snippet of
the JSP page where they use the setTemplete method and do I need to import
something to use setTemplate method. 
Your help is highly appreciated. 
regards, 
-kinjal

-----Original Message-----
From: Yong Bing Khoo [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 5:05 PM
To: [EMAIL PROTECTED]
Subject: Re: How to Chain JSPs


Hi Kinjal,

When activated, your first JSP's associated action method can extract the 
submitted data via

rundata.getParameters().get<something>(<name>)

Load the second JSP by calling the setTemplate method or by updating an 
include tag in the first JSP with the name of the second JSP. Either way, 
you will be able to set the attribute of the second JSP with the data from 
the first JSP that you have retrieved using getParameters method.

If using the setTemplate method, you may need to apply the fix by Mark 
Orciuch 
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg07770.html)

regards,
yb




>From: "Shah, Kinjal" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: How to Chain JSPs
>Date: Mon, 24 Mar 2003 19:12:31 -0500
>
>I am trying to figure out how to post the data thru one JSP page and 
>display the
>results in the 2nd JSP page. So, I have a form on one page and I can hit
>calculate and instead of displaying the same page with results, I need to
>display the next page(jsp). I can refresh the same JSP with the results.
>Any help will be useful.
>thanx,
>-kinjal
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


_________________________________________________________________
Hotmail now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/hotmail_mobile.asp


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

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

Reply via email to