Parse JSTL XML inside JSF?

JSF, on the other hand, has a much more complex life cycle. Somewhat simplified, JSF components are created, asked to process their input (if any), and then asked to render themselves. For JSF to work well, these three things must happen separately in a well-defined order, but when JSF is used with JSP, they don't.

Instead, the component creation and rendering happens in parallel, causing all kinds of problems. The fact that both JSP and JSF components add content to the response is another cause for a lot of grief. Unless you understand the difference between how these two technologies write to the response, you're in for a lot of surprises, such as content appearing out of order or not at all As discussed here.

JSF, on the other hand, has a much more complex life cycle. Somewhat simplified, JSF components are created, asked to process their input (if any), and then asked to render themselves. For JSF to work well, these three things must happen separately in a well-defined order, but when JSF is used with JSP, they don't.

Instead, the component creation and rendering happens in parallel, causing all kinds of problems. The fact that both JSP and JSF components add content to the response is another cause for a lot of grief. Unless you understand the difference between how these two technologies write to the response, you're in for a lot of surprises, such as content appearing out of order or not at all.

--As discussed here Thus, using JSF and JSP together will give you unpredictable results. You are better off taking a pure JSF approach using XSLT as mentioned above.

Thanks Gaurav. Regarding XSLT, I had a problem using it and I couldn't find a solution to it. Maybe you can help me somehow.

The problem is that after the transformation the component tags generated always include a namespace definition inside it, this way JSF can't recognize the component codification. For instance, instead of generate it generates ;. Is there any way of suppressing it?

– Paulo S. Oct 13 '10 at 10:06 This would require a look at the tool / code you are using to generate JSF. Can't think anything from the top of my head – Gaurav Saxena Oct 13 '10 at 20:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions