Hi, Good answer -- and it's gratifying to see formerly new/novice users now helping others ;)
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Wendy Smoak [mailto:[EMAIL PROTECTED] >Sent: Monday, July 19, 2004 6:15 PM >To: Tomcat Users List >Subject: Re: simple HelloWorld example -> 404 > >From: "Scott D. Anderson" <[EMAIL PROTECTED]> >> when I click on the link to "servlet/HelloWorld" I get a 404. > >Examples with /servlet/ in the URL usually depend upon the Invoker Servlet >being enabled. It is now disabled by default, and although it's more >frustrating in the beginning, it's better to leave it that way and learn to >configure your Servlets. > >http://jakarta.apache.org/tomcat/faq/misc.html#evil > >> Anyone have any ideas on how to get this very simple example working? > >Put <servlet> and <servlet-mapping> tags into web.xml, and then access the >Servlet using the URL that you configured, NOT the one with /servlet/ in >it. >Check the DTD for the required order of tags in web.xml. > >-- >Wendy Smoak > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
