FYI, I just tried getHeader ( "Referer" ) and it worked.  Must have done
something careless the 1st time. 

-----Original Message-----
From: Blanco, Jose 
Sent: Monday, February 25, 2008 2:18 PM
To: [email protected]
Subject: RE: [Dspace-tech] Trying to get ref info into dspace.log file

Recently I sent out the email below about trying to get reference
information using the HttpServletRequest class, and I did not hear back.
I tried the following methods, but they did not contain the information:

getPathInfo();
getRemoteHost();
getPathTranslated();
getServerName();
getRequestURI();
getRequestURL();
getHeader();
getRemoteHost(); 

Is there not a way to get this information from HttpServletRequest?  Is
the only way to get this is from looking at the tomcat access logs?

Thank you!
Jose


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Blanco,
Jose
Sent: Wednesday, February 20, 2008 4:25 PM
To: [email protected]
Subject: [Dspace-tech] Trying to get ref info into dspace.log file

I'm looking into getting ref information into the dsapce.log file.  By
this I mean information about from where an item is access. For example,
an item being access from a google search.  I see that the way to get
the ip_addr information is to call the method getRemoteAddr() from
HttpServletRequest, does any one know what method one would need to call
to get the ref information. 

I'm going to experiment a bit, but thought I ask, just in case some one
knew.

Thanks!
Jose

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to