File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Struts + JSF

Jorge Blaz
Ranch Hand

Joined: Jan 31, 2004
Posts: 53
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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Moving to the Struts forum.

[Asking smart questions] [About Bear] [Books by Bear]
Srikanth Shenoy
Ranch Hand

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

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
Ranch Hand

Joined: Jan 06, 2004
Posts: 64
Note that the IBM article ( 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:
Hope that helps,
-James Holmes
I agree. Here's the link:
subject: Struts + JSF
It's not a secret anymore!