> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] 
> Subject: RE: deploying a war file and starting the application

>   <servlet-mapping>
>     <servlet-name>MessageServiceServlethttp</servlet-name>
>     <url-pattern>MessageService</url-pattern>
>   </servlet-mapping>

> Now, these work for webshpere and weblogic, so I am assuming (bad 
> thing I know) that the same would work for Tomcat.

You already answered your own question in your first query, and Chris S 
explained why WebSphere and WebLogic are cheating:

> > The first issue I had was with url-pattern. It appears that Tomcat
> > requires they start with a slash (/). I made the change and I no longer
> > receive any errors while starting Tomcat.

> This is a spec requirement, not a Tomcat requirement. Other containers
> may be more lenient.

You should read the servlet spec.

 - 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.

Reply via email to