Splash › Forums › PrettyFaces Users › rewrite match with regular expression-splitting the parameters
Tagged: prettyfaces JSf rewrite match regular expression substitute
This topic contains 1 reply, has 2 voices, and was last updated by Christian Kaltepoth 1 year, 3 months ago.
I am using prettyfaces-jsf2-3.3.3.jar, i want to rewrite “/test/ing123/” to “/test/ing/123/”. I want this with <rewrite match=”” ../>.
“/test/ing123/” – ing is static but the next digits are dynamic.
Could you help me with the same?
Try something like:
<rewrite match="/test/ing(\d+)/" substitute="/test/ing/$1/" />
Have a look here:
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!