The Referer header is the referring page; not what you
want.

I believe there's a getRequestURI() (or something similar)
in the HttpRequest object that will tell you what the original
request was.  Take a look at the javadoc for HttpRequest, and
you'll see it.



[EMAIL PROTECTED] wrote:
> 
> hi
>  I have a application designed in a way such that  the JSP page is
> dispatched from the servlet.
> I want to make my application check in the JSP page as to where the request
> came from ie did the user type the jsp URL directly or did he come from the
> servlet.
> How do I check this.
> is there something called as HTTP Referer etc.
> I would not want to make changes in the servlet I dont mind writing a
> common JSP page and including it in all the JSP page.
> 
> Any help is greatly appreciated.
> Thanks
> regards
> Sanjeevi
> PLAY THE GAME
> 
> 
>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
>  The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission,  dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you received
> this in error,  please contact the sender and delete the material from any
> computer.
> -- Phoenix Global Solutions (India) Pvt Ltd., www.pgsolutions.com
> 
>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to