You should use
http://localhost/servlet/HelloWorl
You only must specify a port if your port of the web server is any other then
80.
Manoj Kumar schrieb:
> in url which u have mentioned
>
> http://localhost:8080/servlets/HelloWorld
>
> instead of this type http://localhost:8080/servlet/HelloWorld
>
> regards
> manoj kumar
>
> > -----Original Message-----
> > From: Agarwal Gokul [SMTP:[EMAIL PROTECTED]]
> > Sent: Saturday, September 30, 2000 11:09 PM
> > To: [EMAIL PROTECTED]
> > Subject: JAVA SERVLET NOT RUNNING IN JAVA WEB SERVER !!!
> >
> > Hi All
> > I hope you guys will throw some light on my problem as I did not
> > get
> > any response from anybody to my previous problem!!!
> >
> > I have written a servlet ...In the java web server I add it using MANAGE
> > AND ADD OPTION !!!
> > I have put the class file in the javawebserver1.1.3/servlets directory as
> > said in the book.
> > But when I try to evoke it thru a URL
> > http://localhost:8080/servlets/HelloWorld
> >
> > I donot get the desired response.Guys whats it that I need to do
> > more.Kindly
> > help !!!
> >
> > THANKS IN ADVANCE !!!!
> >
> > **************************************************************************
> > **
> > This electronic communication and any accompanying document is being
> > transmitted over the Indian Oil Network and contains confidential
> > information that is for the exclusive use of the individual or entity to
> > which it is addressed and is protected against unauthorised disclosure. If
> > the reader of this message is not the intended receipient or the employee
> > or
> > agent responsible to deliver to the intended receipient, or is not
> > intended
> > to act on it, be aware that any disclosure, dissemination, distribution or
> > copying of this communication, or the use of its contents is prohibited
> > and
> > is likely to be attended by legal consequences. If you have received this
> > communication in error and/or are not the intended receipient, please
> > immediately notify the undersigned or Indian Oil Corporation Ltd. at the
> > telephone or the fax number or email address given above and permanently
> > delete the original message from your email system.
> > **************************************************************************
> > **
> >
> > __________________________________________________________________________
> > _
> > 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
___________________________________________________________________________
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