Why don't you try this?
Try adding this to your mappings.properties file located in the
webpages\WEB-INF directory.
/servlet/bookstore = Bookstore /*Assuming that Bookstore is the name
of the servlet class
you want to run */
Then place all the servlets class of the bookstore in the servlets folder in
the
WEB-INF directory.
Note: This should be done before you run the server.
Ivan
----- Original Message -----
From: "Mona Temchin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 1:43 AM
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