Hi guys,

I'm trying to get the following servlet

http://127.0.0.1/foo/servlet/bar

to execute when the following URL is entered:

http://127.0.0.1/foo/myapp

I've entered the following into the deployment descriptor (web.xml) but am
having no luck.  I know tomcat is reading the descriptor because it is
picking up the <load-on-startup> instruction and the init params are
available to the servlet.

<servlet>
  <servlet-name>bar</servlet-name>
...
</servlet>

<servlet-mapping>
  <servlet-name>bar</servlet-name>
  <url-pattern>/myapp/*</utl-pattern>
</servlet-mapping>

What am I doing wrong??? I've tried a few variations for the url-pattern...

Any help would be appreciated

Regards,

Matthew Clark.

Reply via email to