Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Trailing slash added

Tim Funk

2007-01-14

Replies:

There is no way to customize this behavior other than overriding the
default servlet with your own implementation.

-Tim

lightbulb432 wrote:
> I noticed that Tomcat adds a trailing slash automatically when it detects
> that the requested resource points to an existing directory. While I know
> that Apache web server offers plenty of configuration options to control and
> customize this behavior, I'm unfamiliar with similar customization
> capability within Tomcat. (Where is this trailing slash behavior specified
> for Tomcat? Or is it a compiled-in setting function that cannot be changed?)
>
> How can I customize this and other Apache-like settings? Is the only option
> to front Tomcat with Apache?


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.