http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html
Generally whatever variable you will be retrieving is accessed by a
getHTTPVARIABLENAME
i.e.
getQueryString() acquires the QUERYSTRING
HTH,
Martin-
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, February 20, 2006 7:32 PM
Subject: Re: Retrieving host name
Hi,
Is there code for retrieving server address (IP address?) too?
Thanks.
request.getServerName()
-----Original Message-----
From: Amir Sadeh [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 19, 2006 10:57 AM
To: users@tomcat.apache.org
Subject: Retrieving host name
Hi,
How can I retrieve the host name (defined in the tomcat
server.xml) or some unique host id in a JSP/Servlet code?
Regards,
Amir S
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]