tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: deploying a war file and starting the application
Date Sat, 29 Jan 2011 21:14:10 GMT
> From: Robert.Jenkin@surecomp.com [mailto:Robert.Jenkin@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.

Mime
View raw message