URL rewriting with TomCat
- by Tudor Olariu
I am looking to rewrite an incoming url request on TomCat with the Tuckey rewriter:
<rule>
<from>/OutputFile?sourceArticleId=([0-9]+)</from>
<to>/app/clipping/get/$1</to>
</rule>
the "?" question mark fails the regexp pattern matching. How can I properly escape it or what is the correct solution for this?