Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes Struts Vs. Java Server Faces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Vs. Java Server Faces" Watch "Struts Vs. Java Server Faces" New topic

Struts Vs. Java Server Faces

Philip Gutierrez

Joined: Apr 24, 2007
Posts: 13
what's the difference of the two and when to use them?
Reehan Lalkhanwar
Ranch Hand

Joined: Jun 16, 2007
Posts: 106
Struts and JSF can be used together. No need to use one in place of the other. The UI part along with all the validation can be put in JSF while Struts can do the rest of the tasks in the struts life-cycle.

Thank you,
Shahzad Masud

Joined: Oct 18, 2007
Posts: 11
I agree. Here's the link:
subject: Struts Vs. Java Server Faces