Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Deploy servlet question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploy servlet question" Watch "Deploy servlet question" New topic

Deploy servlet question

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
Standard way is to put them in servlet folder under WEB-INF etc and do URL mapping to call them. My question is can I copy servlet in webapps direct and call them with real name with http w/o naming them in web.xml like we do jsp pages.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

If you're using Tomcat, you can uncomment the invoker servlet and call it with

This is, of course, a hideous thing to do as is explained here:

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Deploy servlet question
It's not a secret anymore!