Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat servlet deployment question

Reply
Thread Tools

Tomcat servlet deployment question

 
 
luke@webber.com.au
Guest
Posts: n/a
 
      01-28-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Servlet Deployment Descriptor Question Nazario Cipriani Java 1 10-25-2006 05:38 PM
Tomcat ssl servlet to servlet, private CA edavid3001@gmail.com Java 0 10-06-2005 09:03 PM
seeking servlet "Master" keep getting "Master/servlet/Master" not found. Tomcat 5.0.25 Doug McCann Java 1 08-05-2004 09:16 PM
Servlet question(Tomcat, web.xml, servlet-class, servlet-name) circuit_breaker Java 2 04-04-2004 03:26 AM
Tomcat: POST from one servlet or internal class to another servlet Sean Clarke Java 1 01-07-2004 02:22 PM



Advertisments