> From: Matthew Thomas Broadhead [mailto:[EMAIL PROTECTED] > Subject: server mapping behaviour when directory structure > mirrors mappings > > <servlet-mapping> > <servlet-name>Sales</servlet-name> > <url-pattern>/sales</url-pattern> > </servlet-mapping>
If you look at the servlet spec (section 11.2), you'll see that the above is not valid other than for matching the exact request "/sales". Newer versions of Tomcat are more strict in their implementation of the rules in the spec, so it's not too surprising that 6.0 works properly and 4.1 let you slide by. Looks like the <url-pattern> should really be "/sales/*" (without the quotes). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]