With:
    request.getHeader("HOST")
 
you can get de home ( www.asdfg.com )
 
 
-----Mensaje original-----
De: Serdar BOZDAG [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 22 de julio de 2002 10:22
Para: [EMAIL PROTECTED]
Asunto: 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