tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <jfarc...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java
Date Wed, 25 Aug 2004 21:13:04 GMT


Remy Maucherat wrote:

> jfarcand@apache.org wrote:
>
>> jfarcand    2004/08/25 12:25:46
>>
>>  Modified:    util/java/org/apache/tomcat/util/http/mapper Mapper.java
>>  Log:
>>  Add missing case to support the following web.xml:
>>  
>>      <servlet>
>>          <display-name>ServletTest</display-name>
>>          <servlet-name>ServletTest</servlet-name>
>>          <servlet-class>test.ServletTest</servlet-class>
>>      </servlet>
>>      <servlet-mapping>
>>          <servlet-name>ServletTest</servlet-name>
>>          <url-pattern>*.screen</url-pattern>
>>      </servlet-mapping>
>>      <welcome-file-list>
>>         <welcome-file>welcome.screen</welcome-file>
>>      </welcome-file-list>
>>  
>>  All Servlet TCKs passed. Please review (I recall some discussion on 
>> welcome file but can't find those emails).
>>  
>>
> -1, this was on purpose. Extension mapping in welcome files cannot work.
> Since you have no way of testing if the resource exists or not, the 
> request will *always* be redirected to the welcome file. It also means 
> that, with the default settings and mappings, all requests to a folder 
> will end up being redirected to index.jsp. I thought this was obvious 
> enough.

Not enough for me ;-). So if it's impossible, the spec should be 
updated, righ?

-- Jeanfrancois


>
> Rémy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


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


Mime
View raw message