File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes request.getHeader( Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "request.getHeader("Referer") returning the url of the same page" Watch "request.getHeader("Referer") returning the url of the same page" New topic
Author

request.getHeader("Referer") returning the url of the same page

Er. Rohit Sharma
Greenhorn

Joined: Dec 11, 2008
Posts: 14
I am using request.getHeader("Referer") for getting the url of previous page..
It worked fine in my first page.. but in my second page it is returning the url of the same page only..
In the latter case I had a confirm Box in Jsp............is this problem arising because of this confirm box.....

Please help me out..............

This message was edited 3 times. Last update was at by Bear Bibeault

Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1287


have a look this thread.


Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
 
subject: request.getHeader("Referer") returning the url of the same page
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com