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 is the front controller in struts2?

702


Is struts compatible with other java technologies?

716


Does apache tomcat use struts?

695


Which design pattern is implemented by Struts2 interceptors?

767


What is DynaActionForm?

798


How an actionform bean is created?

752


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

788


How is the action mapping specified?

719


What is action support class in struts2?

759


Why do the struts tags provide for so little formatting?

762


What is struts? Explain

719


Explain about the library tag?

783


What is the forward action utilized for?

770


What is defeult result type?

845


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

702