Tomcat and Servlets

Discussion in 'Java' started by newbie29, Apr 25, 2005.

  1. newbie29

    newbie29 Guest

    Hi,

    I'm using Tomcat 4.0 and would like to know if it is possible to have
    servlet classes in other directories other than
    c:\jakarta-tomcat-4.0\webapps . And if so should you modify the
    server.xml <Context> to something? What is it?

    A little bit of background:

    Right now, I have this servlet in
    c:\crs570\website\WEB-INF\classes\HelloWorldServlet.class

    and I would like to run it using the following web browser command
    http://localhost:8080/servlet/HelloWorldServlet

    Thank you,
    N29
    newbie29, Apr 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim
    Replies:
    4
    Views:
    6,979
  2. Jim
    Replies:
    2
    Views:
    863
  3. M
    Replies:
    5
    Views:
    423
    Christophe Vanfleteren
    Sep 20, 2003
  4. Arun Goel

    Servlets & Tomcat problems.

    Arun Goel, Oct 1, 2003, in forum: Java
    Replies:
    2
    Views:
    515
    William Brogden
    Oct 1, 2003
  5. Martin
    Replies:
    6
    Views:
    17,944
    anupam.cmit
    Dec 11, 2010
Loading...

Share This Page