This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28  RSS feed

ying lam
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to do the following:
rewrite from

So i have the following rule in my urlrewrite.xml (under WEB-INF
<to type="redirect">%{context-path}/index.jsp?$1</to>

Everything works in tomcat 4.1.34. But when I deploy the same webapp
in tomcat 5.0.28, url rewrite does not work.
When I enter 'http://localhost:8080/testApp?arg1=abc&arg2=def', it goes

Can you please tell me how can I achieve the same thing in Tomcat

Thank you.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!