• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts + JSF

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
author
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the link, Srikanth :-)
The article looks very interesting.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic