Title: tracking in Servlets!!!Help
hi,
well doing this in servlets is quite simple as well, a look at the api docs often provides all information you need. in this case the docs for javax.servlet.http.HttpServletRequest is a real good source of information:
    - ip adress: req.getRemoteAddr()
    - reffering link : req.getRequestURL() (not quite sure abt this one :)
    - time/date : req.getDateHeader(String name)
    -...
 
good luck!
 
-mw
----- Original Message -----
Sent: Monday, October 22, 2001 12:59 PM
Subject: tracking in Servlets!!!Help

Hi Group

Could someone tell me how could I retrieve the visitors IP address, the referring link, time, date, and the remote host  etc etc in a servlet.It's so easy doing in ASP's.

I'll be glad if I see any complete source by the way I searched the archives (and not that much comfortable because this is my initial stages to Java & Servlets and basically an AS/400 programmer)

I'll welcome attachments to my mail id::) direct if any

Thanks a bunch 
TIA
Rizwan

To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to