Hi, Chris, Thank you very much for your help. It works now. I am not aware of the change, because in the real work, I deploy my apps outside of Tomcat, so I have to do all the configurations, mappings ...
But today I am just lazy, and try to deploy it inside Tomcat to play, and get trouble :-) Thank you. --- Christopher Schultz <[EMAIL PROTECTED]> wrote: > > With Tomcat 3.2, it works well. > > > > However, with Tomcat 4.1.29 and Tomcat 5.0.14, > when I > > click the button "Login", I receive this error: > > > > HTTP Status 404 - /chapter04/servlet/LoginServlet > > > > > ----------------------------------------------------- > > type Status report > > > > message /chapter04/servlet/LoginServlet > > > > description The requested resource > > (/chapter04/servlet/LoginServlet) is not > available. > > Tomcat no longer has the "servlet" servlet turned on > by default. In > order to support a servlet URL, you need to have a > servlet-mapping > element for it in your web.xml file. You must have > an old book :) > > -chris __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]