one thing that can be done is that by writing a small javascript code , you
can capture the browser's back button and write a javascript to take the
user to anew jsp page once the back button is clicked.this can be done by
submitting a new form or by using jsp:sendRedirect.
give your feedback if u r able to do it this way.
ash
----- Original Message -----
From: Erwin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 2:26 PM
Subject: Re: Back button


> Hi Mihir,
>
> I have an idea.
> As far as I understood, JSP Page 1 forwards to Servlet which forwards to
> JSP Page 2 (the status page), right?
> Make another JSP, JSP Page 3. Let the Servlet forward to JSP Page 3
instead
> of the status page. On this Page 3, Output to the browser a (meta) refresh
> to either the status page or your homepage, depending on, say, Referrer??
> This way, when the user presses back button from the status page, he goes
> to JSP Page 3, which sends him a refresh tag which redirects to the
> homepage (or any other page)
> If you want to, you can put all this "Page 3" code within the Status page
> itself, somehow.
> Oh, if you're sending info from the servlet to the Status page via the
> forward tag (or whatever), u might have to use beans (or whatever)
>
> If I'm completely wrong, hey, i'm a newbie.
>
> Good luck,
> Erwin
>
> At 01:42 PM 3/26/01 -0600, you wrote:
> >Hi,
> >    I have a jsp status page,  which is displayed by the call from a
> >servlet(this in turn was called by another jsp).  I do not want the back
> >button on the browser to take me to the jsp which had called by the
> >servlet, but to some other page(homepage etc.). Is there any method to
> >do it directly by including something in the status page.  Any help is
> >really appreciated.  Thanks
> >Regards
> >Mihir
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> >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
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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