Even though Servlets and JSP are web based concepts .wht is
the use of using Struts using then

Answer Posted / chandan

If we are developing a web application following MVC architecture using servlets and JSP and without using struts then then we have founds the following drawbacks:
1)struts provides a built-in controller, but when we develope application without struts then we have to develop our own controller which is not reusable and developing controller is a complex task.
2)using struts tiles concept we can achieve the view code(html code) reusability. Although we can achieve it using JSP include mechanism, but JSP include mechanism has some limitations(designing a composite view leads some limitations).So tiles concept provides the better solution for designing a composite view.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of logic tags in Struts?

760


How does struts2 token work?

711


What is the purpose of @result?

771


What does action do in struts?

723


What is the purpose of @keyproperty annotation annotation?

744


Explain about logic match tag?

779


Explain struts?

749


What is Custom Type Converter in Struts2?

835


How client side validation is enabled on a jsp form?

760


What do you mean by inner class and anonymous class?

759


Is struts action class singleton?

743


Who wrote struts?

731


How do you find the struts version being used in a project?

703


Why are struts tightly coupled?

753


What are the conditions for actionform to work correctly?

716