peony2012 / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

Backreference variable not parsed #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello

This is one of my rule

<rule>
        <from>^/([a-zA-Z0-9]+)$</from>
        <set name="oURL">%{request-url}</set>
        <to>/member?id=$1</to>
</rule>

In my servlet I tried to get the oURL attribute: 
request.getAttribute("oURL")

What returned is: %{request-url}
So the variable was not parsed. Anybody got this error?

Thanks for reading :)

Original issue reported on code.google.com by kho...@gmail.com on 26 Jan 2011 at 8:49