Hi, thats it, thx 2 U ;-)
Mauro Br�ndle wrote:
Try to check in the Tomcat Documentation - Servlet/JSP Javadocs - javax.servlet
and javax.servlet.http packages.
For class javax.servlet.ServletRequest there's the getServerPort() method that
"returns the port number on which the request was received."
I don't know how to get the server IP address, but you can get the server name
with the getServerName() method.
Hope this helps.
Greetings
Mauro
Patrick Kosiol wrote:
Hi,
How do I get the IP - Adress (and port) from my Tomcat-Server in a servlet?
thx4ur help
Patrick
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
