I believe the method you are looking for is request.getRemoteHost(), how you choose to store this is up to you. A BufferedWriter or a Database may prove to be a useful choice.
Best Regards, Peter Dolukhanov -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Vaishali S. Pandya Sent: 26 June 2002 07:47 To: [EMAIL PROTECTED] Subject: can i get IP-address and computer name of the client? hi all i want to know that from which IP-add and computer name my program has been used. how can i do this? here we have intranet my jsp will be run from any where but i want to keep the track of users and computers. Thanks in advance Vaishali Reliance Ind Ltd A'bad ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
