Hi Mona,

  Just follow these points.  It always works for me.

  1. Since you say that typing http://localhost:8080 does gives you index
page, i am sure there must be few example servlet link, click those links
and if those servlets are working then there is no problem with the
configuration.

    link may be like this :
http://localhost:8080/examples/servlet/HelloWorldServlet

  2.  Just try to find those servlet location and put your files in that
location, obviously make sure that your servlet file is compiled and it
doesn't gives any bug.

  3. Now just follow the above link and type this in the URL of the browser
:

    http://locahost:8080/examples/servlet/YourServletFileName

  I am sure this should work.

  With Regards,

b.karthikeyan.
----- Original Message -----
From: Mona Temchin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 10:13 PM
Subject: Trouble running servlets from Sun JAVA Tutorial under JSDK2.1


>
> Hi all I'm new to servlets and relatively new to JAVA, so sorry if this
> seems like
> an elementary question.  I followed the Sun Java Tutorial's instructions
> about setting up a servlet to run under JDSK 2.1.  I am in a Windows '98
> environment.  I successfully start the server.  However, no matter what I
> do, I when I type http://localhost:8080/servlet/bookstore into the
browser,
> I get the error message "The page cannot be found".  I start the server
from
> C:/jdk1.3/jsdk2.1 and the Duke's bookstore servlets were unzipped to
> C:/jdk1.3/jsdk2.1/webpages/Web-inf/servlets.  I set up the
> servlet.properties file as instructed.  By the way, the server itself is
not
> the problem, because the URL http://localhost:8080
> does get me the index page which is the default.  What am I doing wrong?
>
> Mona Temchin
>
>
___________________________________________________________________________
> 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