On Sat, 15 Feb 2003 23:12:50 +0800 Chong Yu Meng <[EMAIL PROTECTED]> wrote:
> > > > > >>>where I can access it succesfull at : > >>>http://localhost:8180/examples/servlets/HelloWorld > >>> > >>>but when I go to > >>> > >>> > >>http://localhost:8180/pso/servlets/HelloWorld it doesn't > >> > >> > >>>work and gives me a 404 error, resource is not available. > >>> > >>> > >>> > The default invoker URL /pso/servlets/HelloWorld is disabled in the > default installation of Tomcat. If you want to make your servlet > accessible, you will need to add the relevant <servlet-mapping> element > in your web application's web.xml. > > Regards, > chong > <servlet> <servlet-name>HelloWorld</servlet-name> <servlet-class>HelloWorld</servlet-class> </servlet> <servlet-mapping> <servlet-name>HelloWorld</servlet-name> <url-pattern>/HelloWorld</url-pattern> </servlet-mapping> this doesn't work. How should the url-pattern look like ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
