webtier@glassfish.java.net

Question about storing facelets in database

From: <webtier_at_javadesktop.org>
Date: Sat, 01 May 2010 06:46:23 PDT

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? :)
[Message sent by forum member 'liberitas']

http://forums.java.net/jive/thread.jspa?messageID=399877