Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004283 [Resin] minor always 11-04-10 10:08 11-04-10 10:38
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.13 Product Version 4.0.13
  Product Build
Summary 0004283: url-pattern=""
Description (rep by Peter Yuill)

I am attempting to create a servlet mapping specifically for the
application context root in Resin 4.0.12. Section 12.2 of the Servlet
spec (v3.0) says:

The empty string ("") is a special URL pattern that exactly maps to the
application's context root, i.e., requests of the form
http://host:port/<contextroot>/. [^]

However when I try to implement it I get this exception:

[10-11-04 10:56:04.227] {main} WEB-INF/web.xml:9:
com.caucho.server.webapp.WebApp.addServletMapping():
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
                                7: <load-on-startup>1</load-on-startup>
                                8: </servlet>
                                9: <servlet-mapping>
                                10:
<servlet-name>RpDiscoveryServlet</servlet-name>
                                11: <url-pattern></url-pattern>

Am I missing something? Seeing that resin now passes the Servlet TCK I
figure I must be.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004818)
ferg
11-04-10 10:38

server/13fd
 

- Issue History
Date Modified Username Field Change
11-04-10 10:08 ferg New Issue
11-04-10 10:38 ferg Note Added: 0004818
11-04-10 10:38 ferg Assigned To  => ferg
11-04-10 10:38 ferg Status new => closed
11-04-10 10:38 ferg Resolution open => fixed
11-04-10 10:38 ferg Fixed in Version  => 4.0.13


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker