no, i have a server and a registered domain at this server. at home in my browser i call this servlet. this servlet is called http://www.asdfg.com/servlet/helloWorld (this is just an abritrary url not the real one.) and servlet needs to know http://www.asdfg.com so it can write this in the action part of the form which is included in this servlet.
----- Original Message ----- From: "Bhushan_Bhangale" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 22, 2002 11:30 AM Subject: Re: can servlet know servers' ip? Hi Serdar, Are you calling the servlet deployed for www.asdfg.com from some other server? -----Original Message----- From: Serdar BOZDAG [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 1:52 PM To: [EMAIL PROTECTED] Subject: can servlet know servers' ip? hi, i call a servlet at http://www.asdfg.com/servlet/helloWorld.... 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 ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
