if both the servlet are from the same server then you need not specify the whole http://ipoftheserver/servlet/servletname just put "/servlet/servletname" in the action part ...
Guru -----Original Message----- From: Bhushan_Bhangale [mailto:[EMAIL PROTECTED]] Sent: 22 July 2002 09:30 To: [EMAIL PROTECTED] 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
