Question about storing facelets in database
Hi! I'm thinkin of storing facelets in database instead of files. Is it real? So i think of implementing this by such way:
1. I write servlet which will handle almost all requests.
2. It will handle request like '/page/[0-9]+' which is mapped, for example, to some facelet called "page" in database.
3. <--- here i get problem: how could I post xml-content from database to mojarra servlet or primefaces servlet?
So, cud u answer these questions, please, or offer something coz I'm already broke my head and all organs containing intellect? :)