hi all,

I am a beginner trying to run my first servlet program example by Sun.
The problem I am facing is that when I run the program using servletrunner,
the servletrunner
specify no file is found e.g. catalog is not found.

My classpath points to my current working directory where all the example
class files are located as well as to the lib directory of the jdk1.2 beta
where the classes.zip is found. Included in my current directory are also
the "cart" and "database" sub-directories. I have started the servletrunner
at the current working directory. The servlet property  file is in my
current working directory.

These are the details:
port=8080
backlog=1000
...

servlet dir = .
document dir = .
servlet propfile = .;Servelet.properties

The only way I have manage to run the example is by changing the code of
each .java file, such that instead of coding catalog which uses the servlet
property file, I code directly the name of the class file which is
CatalogServlet. For example:"

From:                 response.encodeUrl("/servlet/cashier") +

to:                   response.encodeUrl("/servlet/CashierServlet") +


Please kindly advise me on this. Thank you all.

cheers
alvinong




Don't Worry.... Be Happy!!!  ;-)

___________________________________________________________________________
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