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 4 years, 8 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” />
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!