tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sojan <ilikeu...@gmx.net>
Subject Re: The problem with "/"
Date Tue, 22 Jan 2002 11:06:30 GMT
On Tue, Jan 22, 2002 at 02:00:08AM -0800, Bill Barker wrote:

I thought of something similar, but your solution is way more 
elegant. Thank you! 

> I'm not primarily a 4.x developer, but in theory the following should work:
> 
>   URL res = config.getResource(request.getPathInfo());
>   if(res != null) {
>     RequestDispatcher rd = config.getNamedDispatcher("default");
>     rd.forward(request,response);
>     return;
>   }

Peter

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


Mime
View raw message