Try reading the value of the 'Referer' request header,
this should tell you were the request come from. I
mean the original page not the client machine.
You can use: request.getHeader("Referer");
Good luck
Atilio
--- SriHari <[EMAIL PROTECTED]> wrote:
> I forgot to tell u
> I have to use this method for my entire Project so
> It would be much better
> that this function is dynamic
>
>
> SriHari
>
> -----Original Message-----
> From: Rajinder Sandhu
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 9:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: jsp Requested Page
>
>
> one way is define a hidden variable in Page A and
> assign the name of the
> Jsp.
> Retrieve it in Page B.
>
>
>
> -----Original Message-----
> From: SriHari [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 9:45 AM
> To: [EMAIL PROTECTED]
> Subject: jsp Requested Page
>
>
> Hi There
>
>
> I want to know from which page the request has come
> in a jsp page
> is there any method for that
>
> ex:
> page A calls Page B then in page B i should know or
> identify that the
> request is from page A
>
>
>
> cheers
> Sri Hari
>
>
===========================================================================
> 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
=====
Ing. Atilio Ranzuglia Buteler
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
===========================================================================
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