Why dont you just use
 
<FORM Action="/servlet/helloWorld">
 
That should work just as fine.
 
 
----- Original Message -----
Sent: Monday, July 22, 2002 8:22 AM
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