tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: servlet mapping question(I believe)
Date Sun, 03 Feb 2008 18:51:09 GMT
Terence Kent wrote:
> Conclusion:
> My understanding from this configuration is that all requests on port 
> 8010, that end with the extension .ext should be forwarded to the 
> servlet "mycompany". From what I've read, any paths created in the 
> ${APP_BASE} directory should be irrelevant in this mapping and all logic 
> comes from the web.xml file. My understanding appears to be wrong and I 
> would greatly appreciate being pointed in the right direction.

You can't set appBase == docBase.

The following should do what you want:
rename /opt/path/to/webapps/page to /opt/path/to/webapps/ROOT
use appBase="/opt/path/to/webapps"
use docBase="ROOT"

Also, I wouldn't configure the context in server.xml. See for other options.



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message