IntelliJ Java IDE
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..............
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1291


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
 
Threads others viewed
blank page
how to find out the page the user was previously at.
Obtaining the referring URL...
Referer request without absolute path????
Find out which jsp page called the concerned page
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture