Forums Register Login

JSP or Facelets?

+Pie Number of slices to send: Send
Hi - what are the opinions on Facelets instead of JSP for JSF?
Thanks, Dave
+Pie Number of slices to send: Send
I suggest, Facelets is a best choice to power the JSF implementation. However, it is not a replacement for JSP. You can use three of them together. Especially, if we speak about JSF 1.2

--
Sergey : http://jsfTutorials.net
+Pie Number of slices to send: Send
Hi Sergey - could you elaborate on that? Why would I want to use jsps in addition to facelets?
Thanks, Dave
+Pie Number of slices to send: Send
Actually, I do not know the reason why JSP and Facelets can be called competitors. They are very complimentary to each other. Facelets has a great and smoothly integrated with JSF templates framework (but not only it, of course). At the same time, the data iteration like jstl c:forEach is out of the scope for facelets. You cat create new JSF component with JSP code snippets, like it is shown in the Facelets documentation.
Note that I mean JSP2.1 + JSF1.2 + Facelets. The previous versions of JSP and JSF does not work very well together. JSP2.1 and JSF1.2 are not final, but pretty stable already.
I have a project template that contains JSP2.1 , JSF1.2 and Facelets and works under Tomcat 5.5.x. I can share it, if somebody is interesting to test-drive the nearest future.

--
Sergey : http://jsfTutorials.net
[ March 14, 2006: Message edited by: Sergey Smirnov ]
+Pie Number of slices to send: Send
Hi Sergey,
I'd like to see your demo if it's not an imposition.
Thanks, Dave
+Pie Number of slices to send: Send
Ok. See the top section at the http://jsfTutorials.net
+Pie Number of slices to send: Send
Thanks!
Would you like to try a free sample? Today we are featuring tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1745 times.
Similar Threads
"no tag was defined for name: include" error
What is the differance between JSP and JSF?
tiles in JSF
What is the difference between JSP and JSF ?
Embedded JSF Pages into another JSF Page.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:43:22.