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 do you mean by actionservlet?

641


Explain how can we upload files in struts2 application?

703


What is the difference between plain-validator and field-validator?

610


What are the 5 constants of action interface?

644


What's the purpose of execute method of action class?

608






Explain the components of struts?

634


Are struts and shocks the same?

595


What is the use of resourcebundle.properties file in Struts Validation framework?

682


What is the purpose of '@keyproperty'?

669


What inbuilt themes are provided by struts2?

686


Why are frameworks used?

629


Explain about token feature in struts?

644


What is the actionform?

658


Can we have multiple struts config files in a single web app?

583


Why do the struts tags provide for so little formatting?

671