“I don’t get the idea why there should be an automatic rewriting to physical files.”
Because PrettyFaces is basically just a Servlet Filter matching any Servlet Request.
For it to be able match only non existing files, PrettyFaces would have to create a new File-Handle for every request and look if this request is a physical file. In a Servlet 3 environment, this even gets more complicated, as files could be packaged in different jars, so they don’t even really “exist” in the filesystem. From a performance view,
this would be a real nightmare.
I suggest you simply make your rewrite rules more precise (e.g. using regular expressions) so they don’t match physical files.
Glad you got it working… PS. We really do need some kind of full-fledged rewriting support in PrettyFaces, so if anyone here (or out there) is interested in getting involved, we’d be very glad to work together to make it happen!
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
Comments are closed.
Do you play Magic?
Get TopDecked MTG, the essential all-in-one Magic App, built by players, for players. Free to use, forever.
Deck Simulator (3d)
Cards & Prices
Top 8 Decks & Metagame
Get updates from OCPSoft
If you find our tools useful, please consider making a donation to help us stay online and building software!