Dan Brown wrote:
> 
> I find that the standard answer to shortening the path of using
> mod_rewrite rather Apache specific.  And I am surprised that no one on
> this list tries to address this issue through the Servlet
> specification.  I have researched this problem and found a solution
> within the specification to address this.  Unfortunately, the sample
> application does not support the web.xml definition that would allow the
> changed URI to take place.  I haven't had a chance to track down the
> problem to be within Flux or the Turbine toolkit itself though.

... and there are a few seasoned Apache users/develpers around here :-)

I'd also recommend using url-pattern and context name (configurable in
server.xml in case of Tomcat) for manipulating the application's path.

The mapping you put in your post has one caveat -- it directs all 
requests to the servlet, thus making it impossible to have static
content (images and such) served by the container. Of course you could
have a screen to serve them, but there is little reason in doing it
that way.

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to