Hi:

I use java servlet2.1, it is very useful.

I put my .class files in a directory under directory servlets, I try to
access them, I get error message is "The page cannot be found". if I move
the files to servlets directory, I can access them.

The following is default.cfg:

# $Id: default.cfg,v 1.8 1999/04/05 21:18:16 duncan Exp $

# Default configuration file for Project Tomcat

server.port=7789
# server.hostname=3.88.136.140
server.hostname = xchng10.cd.capital.ge.com
server.inet=
server.docbase=webpages
server.tempdir=tmp

# All sections of the server's namespace are defined in terms of
# a 'webapp'. There are two attributes that define a webapp, 1)
# a mapping of where the webapp is placed into the namespace of
# the server and 2) the base of the webapp. The base can be composed
# of a simple string as shown below which indicates a file
# relative to the current working directory (the directory in which
# the server was started) or can be a full URL.

server.webapp.examples.mapping=/geccd
server.webapp.examples.docbase=geccd

# server.app.wombat.mapping=/wombat
# server.app.wombat.base=http://wombat.eng/apps/wombat.web

if I put a file LoginHandler.class under geccd/WEB-INF/servlets, then I
access this file in html page(path is ../geccd/servlet/LoginHandler), it
works.
Then I creat another directory fsLeads under servlets, and move LoginHandler
to fsLeads. I access this file in html page(path is
../geccd/servlet/fsLeads/LoginHandler). it fails. There is one error message
"The page cannot be found".

Do you know why?

Thanks.

DJ

___________________________________________________________________________
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