documention for server.xl and web.xml can be found at
http://tomcat.mslinn.com/ this was already discussed in the archives.Do go
thru them and if u werent able to find  any answers,then post
-K

-----Original Message-----
From: [Tom Hunter] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: In Tomcat, Where Does The Servlet Get Executed From?


Where do you put Servlet class files in order get them recognized?
I try to access them with this URL: http://localhost:8080/servlet/MyServlet
I have succeeded with GET requests if MyServlet is in the
ROOT\WEB-INF\CLASSES
directory, but they always come up not found if I put them anywhere else.
Are there any
more settings I have to set up to have them be found in this location?

     As for the POST requests, no matter where I put them, (using a correct
POST
right out of Deitel & Deitel), they are never found.
     Also, does anyone know where on http://jakarta.apache.org these
settings are
described?

                              many thanks!

SET TOMCAT_HOME = C:\TOMCAT

Below is the directory structure I use:
___________________________________________________

TOMCAT
     BIN
     CLASSES
     CONF
     DOC
     LIB
          TEST
               GOLDEN
     LOGS
     SRC
     WEBAPPS
          EXAMPLES
               WEB-INF
                    CLASSES
          ROOT
               WEB-INF
                    CLASSES
          TEST
               WEB-INF
                    CLASSES
     WORK
          LOCALHOST_8080

______________________________________________________

___________________________________________________________________________
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

Reply via email to