wood burning stoves 2.0*
The moose likes Servlets and the fly likes Referer Header information passed from the Login Jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Referer Header information passed from the Login Jsp page" Watch "Referer Header information passed from the Login Jsp page" New topic
Author

Referer Header information passed from the Login Jsp page

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

Can you please tell me this .

I have seen a example which allows the user to Login (UserName and Password fields) and on to the servlets the author is retrieving the Header information like this :

String referrer = servletRequest.getHeader("referer");

Please tell me what does actually the Referer Header contains ??

Save India From Corruption - Anna Hazare.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9307
    
  17

I couldn't understand what you are trying to say by that login thing, but the general information about the refer header can be found here and here...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Referer Header information passed from the Login Jsp page