you can display your host and port no to see if it is mac1 using
request.getheaders.
I tried with tomcat.

Amit
----- Original Message -----
From: "sumit deogharia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 13, 2000 6:46 AM
Subject: a peculiar problem


> Hi
>
>    i have created a servlet which is throwing a html page back to the
user.
> Here there are 2 textboxes whose validations I have checked by using
> javascript.
> Now here is the problem: from the browser (IE 5.0) when i'm writing
> "http://localhost:8080/servlet/myservlet" the thing is working fine but
when
> I'm saying "http://mac1:8080/servlet/myservlet" then it is giving me an
> error. mac1 is the name of my machine , I'm using Java Web Server 2.0 and
> the name of the servlet is myservlet.java .
> Any help in this regard is highly appreciated
>
>    Thanks
>
>   Sumit
>
>
>
>
>
>
> _______________________________________________________
> Say Bye to Slow Internet!
> http://www.home.com/xinbox/signup.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
>

___________________________________________________________________________
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

Reply via email to