I have never run it as you try to.
>From the page http://localhost:8080/index.html follow the links samples,
applications etc. I am sure it will run...
1. It should run if you correctly created the names of the servlets.
2. All servlets are in the sunexamples package. Therefore all servlets must
be under servlets/sunexamples directory.
3. If you run your bookstore.html by directly double click on it in Windows
Explorer, it will not run correctly...
4. Hence, try running it by calling http://localhost:8080/bookstore.html
5. If it still does not run, check paths (relative) of the links. Probably
that is the problem...
6. Recompiling of the servlets is not needed.(!!)
Hope it works
AG
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API
Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Amit Raj
Sent: Monday, February 21, 2000 10:22 AM
To: [EMAIL PROTECTED]
Subject: Duke BookStore Servlets
I am trying to run the Duke Bookstore Example which I downloaded from Sun
website on the Java Web Server. I have added the bookstore.html page to the
public_html directory under Java web Server. After that I compiled and
added
the different servlet classes (Cashier, Catalog, Cart package etc.) in
servlets
directory. Then I created the names entry in web server ( Using add
Servlets
utility) for this servlets. When I start the server and display main page it
is
OK. After taht when I press any of the links error message number 404 (NOT
FOUND) comes !
If anyone has used this Tutorial pl. tell where the problem lies. I feel
that it
is with some configuration or directory problems while compiling the servlet
classes.Also can someone suggest a site where I can download some good
servlet
examples to run and test. I already have the example from the book of Jason
Hunter.
Any help appreciated!
Reg.
Amit
___________________________________________________________________________
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