2010/3/31 Karthik Nanjangude <karthik.nanjang...@xius-bcgi.com>:
> Let us say I have
>
> http://domain.com/folder1/abcd.jsp  ==> http://domain.com/folder1/
> http://domain.com/folder2/xyz.jsp   ==> http://domain.com/folder2/
> (..)

You want to have requests to http://domain.com/folder1/ to be
processed by http://domain.com/folder1/abcd.jsp.  It can be done by
calling

ServletContext.getRequestDispatcher("/folder1/abcd.jsp").forward(request,
response)

The above call can be performed by a Servlet or by a Filter.
E.g. you can use http://tuckey.org/urlrewrite/  or write your own filter.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to