tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terence M. Bandoian" <tere...@tmbsw.com>
Subject Re: Mapping a servlet to the application's context root results in IAE
Date Tue, 05 Jun 2012 21:51:01 GMT
  On 1:59 PM, Violeta Georgieva wrote:
> Here it is: https://issues.apache.org/bugzilla/show_bug.cgi?id=53356
>
> Thanks
> Violeta
>
> 2012/6/4 Mark Thomas<markt@apache.org>
>
>> On 04/06/2012 19:25, Violeta Georgieva wrote:
>>> Hi,
>>>
>>> I'm using Tomcat 7.0.27.
>>>
>>> I have an application and I want to map my servlet to the application's
>>> context root, but I do not want to override the "/" mapping for the
>>> "default" servlet.
>>>
>>> It is specified in the Servlet spec that there is a "special" url mapping
>>> that can be used for such purposes and it is an empty string ("").
>> That feature is not implemented in Tomcat. I don't see it in the spec's
>> change log which is why I suspect it is so little used that no-one else
>> has noticed it doesn't work until now.
>>
>> Please file a BZ issue and this should get fixed for the next release.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org


Hi, Violeta-

A work-around might be to use a welcome file list in web.xml like:

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

-Terence Bandoian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message