Re: Registering Servlet in web.xml file

Nic Ferrier <[email protected]> Wed, 17 Nov 2004 01:29:32 +0000
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Wei Cheng <[email protected]> writes:

> if you're using apache tomcat then the answer is quite simple :
> use the invoker servlet .
>
> quote :
> "The invoker servlet lets you run servlets without first making
> changes to your Web application's deployment descriptor (i.e., the
> WEB-INF/web.xml file). Instead, you just drop your servlet into
> WEB-INF/classes and use the URL http://host/servlet/ServletName (or
> http://host/webAppName/servlet/ServletName once you start using your
> own Web applications; ..........). The invoker servlet is extremely
> convenient when you are learning and even when you are doing your
> initial development. But, as discussed in the book, you do not want
> it on at deployment time. ............ You almost certainly want to
> enable it when learning, but you should disable it again before
> deploying any real applications. "
>
> you can find instructions on enabling it here.
> http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Enable-Invoker


Ahem. I believe I said this already.


--
Nic Ferrier
http://www.tapsellferrier.co.uk

___________________________________________________________________________
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