Hmm well - I got it working - Tomcat isn't placing the appropriate
instructions into the auto-generated configuration file (mod_jk.conf-auto).

Matthew Clark.

-----Original Message-----
From: Mathew Clark [mailto:[EMAIL PROTECTED]]
Sent: 27 May 2001 19:01
To: [EMAIL PROTECTED]
Subject: servlet mapping


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