Hello guys,
I am new to the servlet and,
my problem is, how can i put entry in the servlet properties file if
my
servlet is in the subdirectory of the directory in which properties file
lies ?and how can i call that servlet from browser's address bar?
if i put entry in the servlet properies file, is it necessary to set
classpath for each of the servlet specified in the properties file?
if my properties file is in other directories and if i use -d option
of
servletrunner will it take care of servlets which are in the subdirectories
of the properites file ?
also, i have found that if my entry in the properties file is like
this,
servlet.book.code=BookDetails
and if i call servlet by "http://localhost:8080/servlet/BookDetails" it
shows me the result,
while if i call servlet by "http://localhost:8080/servlet/book" it also
shows me the result,
while sometimes it shows me error "404 not found" for both.
So, where is the mistake i have made to call serlvet and what is distinction
between these conventions ?
N.B. :: I have done all the experiments with servletrunner.
___________________________________________________________________________
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