There already is a servlet that uses JSF tags to generate a web page. It's the JSF Servlet.
JSF isn't just a set of taglibraries, it's an entire infrastructure. Before you break the rules, you need to know how they work.
What
it looks like you actually really intended to do was dynamically
generate JSF page source and then apply it. That's not something I'd do
lightly and I've been working with JSF for over 2 years now.
On
the other hand, I've never felt the need to. JSF can do an awful lot in
a fairly simple way. So simple, in fact, that one of the biggest
problems a lot of people seem to have with it is that they try to build
complex solutions for simple problems.
|
|