• 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

How to use Struts and JSF together????

 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have also been learning JavaServer Faces and would love to talk "shop" with anyone who is looking to use JSF or switch from Struts to JSF. Some people have claimed that JSF is a "Struts" killer, but like anything else there is plenty of room for the two frameworks to co-exist.




How to use Struts and JSF together in one application ??
 
Author
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Somkiat,

There is an integration library for JSF and Struts called Struts-Faces. The library is part of the Struts project. Following is a link to download the library:

http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

The directory contains nightly builds of the library. Just grab the latest and unzip the distribution and read the README file.

-James
JSF Resources and Console GUI tool
http://www.jamesholmes.com/JavaServerFaces/
 
author & internet detective
Posts: 41855
904
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've seen it recommended to use Struts for the control and JSF for the presentation. This also provides a nice migration path for those already using Struts.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much for all reply.

I will use this tutorial.
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
I've seen it recommended to use Struts for the control and JSF for the presentation. This also provides a nice migration path for those already using Struts.



Will the View component of Struts' MVC be replaced by JSF? Will it be possible that MC of Struts and V of JSF will be a new industry standard in the future?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic