Tomcat servlet deployment question

Discussion in 'Java' started by luke@webber.com.au, Jan 28, 2006.

  1. Guest

    In simpler times (circa Tomcat version 3), I could deploy a servlet in
    a given context just by bunging the .class file into WEB-INF/classes. I
    only needed to add an entry to WEB-INF/web.xml if I wanted to assign
    initialisation parameters or mappings.

    These days, it doesn't appear to be so simple. I note that the web.xml
    file in the 4.0 version of Tomcat has blown out to 10K of repetetive
    crud. But I still long for simpler times.

    Can anybody tell me if there is any way that I can make my webapp load
    any given servlet, even if there is no specific entry for it in
    web.xml? It's bloody annoying that I have to restart Tomcat every time
    I want to chuck in a little test or diagnostic servlet.

    Many thanks for any help.

    Cheers,
    Luke
     
    , Jan 28, 2006
    #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. Sean Clarke
    Replies:
    1
    Views:
    1,900
    Sudsy
    Jan 7, 2004
  2. circuit_breaker
    Replies:
    2
    Views:
    2,018
    Jack Jia
    Apr 4, 2004
  3. Doug McCann
    Replies:
    1
    Views:
    1,037
    William Brogden
    Aug 5, 2004
  4. Replies:
    0
    Views:
    848
  5. Nazario Cipriani

    Java Servlet Deployment Descriptor Question

    Nazario Cipriani, Oct 25, 2006, in forum: Java
    Replies:
    1
    Views:
    613
    Manish Pandit
    Oct 25, 2006
Loading...

Share This Page