• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts + JSF

 
Jorge Blaz
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
has someone tried to use Struts and JavaServer Faces together?. I've used Struts for some time having JSPs and Struts taglibs to build the pages, but for the little I've read about JSF, they could be very useful to use with Struts or alone.
Have you used the the JavaServer Faces taglib Struts-Faces for Struts?
Thanks in advance.
Jorge
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
Srikanth Shenoy
author
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You might find this tutorial about Struts-Faces very helpful.
Integrating Struts, Tiles and JSF
The JSF and Tiles integration part is a bit dated. However you might find the rest of it still useful
-Srikanth
 
Jorge Blaz
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link, Srikanth :-)
The article looks very interesting.
 
Emilio Butrage´┐Żo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless you have to support Struts, I would say move to JSF all together if you need the capabilities they offer. Struts + JSF isn't all what its said to be. That said, I plan on staying with Struts until I there is good enough reason to move to JSF.
 
James Holmes
Author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that the IBM article (http://www-106.ibm.com/developerworks/library/j-integrate/) on Tiles and JSF integration is now out of date. It was developed against JSF EA4 I believe.
Craig McClanahan has just released an updated Struts-Faces integration library this morning that has an example that makes use of Tiles. You can get the code for it here:
http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/
Hope that helps,
-James Holmes
http://www.jamesholmes.com/JavaServerFaces/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic