Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Struts + JSF

 
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
 
Marshal
Posts: 67414
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
author
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.
 
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.
 
Author
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/
 
Oh the stink of it! Smell my tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic