GeeCON Prague 2014*
The moose likes Struts and the fly likes Struts + JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts + JSF" Watch "Struts + JSF" New topic
Author

Struts + JSF

Jorge Blaz
Ranch Hand

Joined: Jan 31, 2004
Posts: 53
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

Joined: Jan 10, 2002
Posts: 61298
    
  66

Moving to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Srikanth Shenoy
author
Ranch Hand

Joined: Jan 24, 2004
Posts: 184
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


Srikanth Shenoy
Author of Struts Survival Guide : Basics to Best Practices
Jorge Blaz
Ranch Hand

Joined: Jan 31, 2004
Posts: 53
Thanks for the link, Srikanth :-)
The article looks very interesting.
Emilio Butrage´┐Żo
Greenhorn

Joined: Mar 05, 2004
Posts: 8
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

Joined: Jan 06, 2004
Posts: 64
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/
 
GeeCON Prague 2014
 
subject: Struts + JSF