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

Explain about the future of struts?

535


What does params interceptor?

535


What is strut action mapping?

517


Will the struts tags support other markup languages such as wml ?

553


What is interceptor struts2?

534






How long do struts last?

530


What is difference between lookupdispatchaction and dispatchaction?

633


What is struts2 namespace?

511


How do you create message resource?

586


Which model components are supported by Struts?

568


Which interceptor is responsible for file upload support?

577


Which servlet does the struts framework use?

520


What is the use of web xml in struts2?

523


Lists the bundled validators in struts?

555


What do you mean by actionservlet?

549