I completely understand that my URL should be http://localhost:8080/framework/action
not http://localhost:8080/framework/servlet/action for below web.xml web.xml <servlet-name>TestAction</servlet-name> <servlet-class>ActionServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>TestAction</servlet-name> <url-pattern>/TestAction</url-pattern> </servlet-mapping> My ActionServlet servlet class resides under web-inf/classes. I still dont understand ...why im getting "Page Cannot be Found" error page when i access servlet like http://localhost:8080/framwork/TestAction Is there any other change that i should make apart from web.xml? servlet is not in any package. Im placing it under classes folder. --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > With the servlet mapping you've defined, the correct > URL is: > > http://localhost:8080/framework/action > > not > > http://localhost:8080/framework/servlet/action > > Craig > > > On Wed, 14 Nov 2001, BacardiWasabi wrote: > > > Date: Wed, 14 Nov 2001 23:02:57 -0800 (PST) > > From: BacardiWasabi <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List > <[EMAIL PROTECTED]> > > To: Tomcat Users List > <[EMAIL PROTECTED]> > > Subject: Servlet Mapping...:( > > > > time for a silly question... > > > > > > > > file - web.xml > > > > > > <servlet> > > > <servlet-name>TestAction</servlet-name> > > > > <servlet-class>ActionServlet</servlet-class> > > </servlet> > > > > > > <servlet-mapping> > > > <servlet-name>TestAction</servlet-name> > > <url-pattern>/TestAction</url-pattern> > > </servlet-mapping> > > > > > > ActionServlet - web-inf\classes > > > > Context path - framework > > > > a) when my url is > > http:...:8080/framework/servlet/TestAction - it is > > working fine > > > > b) but when i make change to servlet mapping to > above > > web.xml as > > > > <servlet-mapping> > > > <servlet-name>TestAction</servlet-name> > > <url-pattern>/action</url-pattern> > > </servlet-mapping> > > > > > > > > and invoke > > http:...:8080/framwork/servlet/action - im getting > > page cannot be found > > > > restarted my server... > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Find the one for you at Yahoo! Personals > > http://personals.yahoo.com > > > > -- > > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > > For additional commands: > <mailto:[EMAIL PROTECTED]> > > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > For additional commands: > <mailto:[EMAIL PROTECTED]> > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>