Hai,

Thanks To all.
Big Chiz wrote the same in earlier mail.

Regards
Rajamani M

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of Ananthalakshmi
Subramaniyam
Sent: Wednesday, September 22, 2004 6:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to find the JSP file name!


Hi,

HTTP Header 'Referer' will have the  information. To access referer in Jsp,
String strReferrer = request.getHeader("Referer");

Thanks,
H.Ananthalakshmi.

>From: Mark Galbreath <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: How to find the JSP file name!
>Date: Wed, 22 Sep 2004 07:01:21 -0400
>
>Pass the name of the calling JSP in the Request object; dynamically set
>a hidden field in the calling page with the origination URL.
>
>Mark
>
>Rajamani M wrote:
>
>>Hai,
>>
>>I am using the jsp files for the flow of execution. In one jsp, I want to
>>know the called jsp file.
>>Is it possible?
>>
>>Because, I am using the different login pages according to the user. But
>>one
>>validation jsp. In this validation jsp I want to know the login page name.
>>With that only I'll proceed.
>>
>>Regards
>>Rajamani M
>>KESDEE Systems India Pvt Ltd,
>>Bangalore - 25, INDIA.
>>
>>==========================================================================
=
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>>JSP-INTEREST".
>>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>>DIGEST".
>>
>>Some relevant archives, FAQs and Forums on JSPs can be found at:
>>
>>http://java.sun.com/products/jsp
>>http://archives.java.sun.com/jsp-interest.html
>>http://forums.java.sun.com
>>http://www.jspinsider.com
>>
>>
>>
>>
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>
>Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>http://java.sun.com/products/jsp
>http://archives.java.sun.com/jsp-interest.html
>http://forums.java.sun.com
>http://www.jspinsider.com

_________________________________________________________________
Win a trip to Singapore! Experience the magic! http://eu.xmts.net/80450
Click here for details!

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to