tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@betaversion.org>
Subject [T4] More mapping problems
Date Thu, 14 Jun 2001 19:45:59 GMT
Hi Craig,

(putting on my Catalina user hat)

I found a case where I think adding the default configuration mapping is done 
wrong.

For example, you can choose to map a servlet to /*, in which case you would 
expect it to handle all requests. That's not what happens because the default 
config will add a mapping of the default servlet on "/".

The mapper will then send a request on "/" to the default servlet, and every 
other URL to the other servlet.

In addition to just checking if the mappings are indentical, I think we should 
check inclusion too (here, / is included in /*).

(back to the developer hat)

Is it ok if I implement this behavior ?

Remy

Mime
View raw message