Splash › Forums › PrettyFaces Users › Rewrite URL deifiend in web.xml
This topic contains 2 replies, has 2 voices, and was last updated by Lincoln Baxter III 9 years, 3 months ago.
I have defined welcome page and error page in web.xml as below.
How to rewrite these URL from pretty-config.xml?
Sorry, I am at JavaOne and haven’t had much time to catch up:
You need to modify the mappings to look like this:
Then in pretty-config.xml, you need to add mappings for these Pretty URLs.
<pattern value="/" />
<pattern value=”/error” />
The forum ‘PrettyFaces Users’ is closed to new topics and replies.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!