Difference between JSF Framework and Struts Framework.

Answer Posted / kollu sreenivasa rao

Configuration wise both are same and supports the
internalization. JSF is more developer friendly why because
to validate mandatory filed in JSF we can specify attribute
like require is true and we can use mandatory filed id in
message tag. But in struts we have to include
validation-rules.xml in struts-config.xml and form has to be
specified in validation-rules.xml.

Even for condition statement in JSF is better than struts.
No need to overwrite any method like execute in JSF.

navigation is very easy in JSF.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are interceptors in struts 2?

799


Does apache struts run on windows?

767


Can you explain custom tag?

790


What is the role of action class?

797


What is the purpose of @element annotation annotation?

804


What is the default suffix for struts2 action uri ?

747


What is the difference between struts and spring? Explain

699


What is the use of reset method of ActionForm class?

801


What is actionform in struts?

700


When should be opt for struts framework?

826


What is request processor and how does it relates to action mapping?

827


Who wrote struts?

755


How can we integrate log4j in Struts2 application?

802


What are the steps involved in creating a strut application?

745


What are the features of struts 2?

753