hello serder
 
 there is method in the server variables collection which will give u the ipaddress
 
chk on that
yadav
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Serdar BOZDA�
Sent: Monday, July 22, 2002 1:52 PM
To: [EMAIL PROTECTED]
Subject: can servlet know servers' ip?

hi,
 
this servlet need to know the ip of the server (http://www.asdfg.com) because there is a form in the servlet and in action this servlet is used again.
so i need
<FORM Action=" + ipOfTheServer + "/servlet/helloWorld">.
could you help pls?
 
thanks in advance,
serdar

Reply via email to