Re: Registering Servlet in web.xml file
Wei Cheng <[email protected]> Wed, 17 Nov 2004 10:38:37 +0800
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <OFB4BE1631.649AE93F-ON48256F4F.000DF5CD-48256F4F.000E4EEB@jjsea.com> |
no offence nor trying to take credit, but i dun recall you tell him how to do it ^_^ 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 ----------------------------------------------------------------------- This transmission which may contain confidential and / or privileged information is intended solely for the named recipients. If this transmission reached you by mistake, please notify us immediately by responding to this e-mail and then delete it from your system. ----------------------------------------------------------------------- ___________________________________________________________________________ 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