Using an action:

<jsp:forward page="home/Default.jsp" / >

OR with parameters
<jsp:forward page="home/Default.jsp" >
<jsp:param name="source" value="entry"/>
</jsp:forward>

You may pass as many parameters as you need using this
method by using the param tag.

The forward action ends execution of the current JSP page and
removes any existing buffered output. The new page has access to
following objects (Application, Request, Session) as the starting
file. A new pageContext object is generated for the page. To the
browser it will appear you have the originally requested page not
the page to which you are transferred.

for more info see:
http://www.jspinsider.com/reference/jspredirection.html

hope this helps

Casey Kochmer
[EMAIL PROTECTED]




>From: subramanian Athimoolam <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Response redirect
>Date: Tue, 8 Aug 2000 07:35:42 GMT
>
>hello sachin
>
>            suppose i want to change the content also. how can i change
>dynamically the page. because i want to pass the parameter also. how its
>possible.
>
>
>thanks
>subu
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to