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
What is http forward?
What is the role of a handler in mvc based applications?
What steps are required to for an application migration from Struts1 to Struts2?
Explain struts?
What is the purpose of @requiredstringvalidator?
What is the use of lookupdispatchaction?
Is struts compatible with other java technologies?
What is strut action mapping?
Can we handle exceptions in Struts programmatically?
Can we have more than one struts-config.xml file for a single struts application?
What are the bundled validators?
What are the classes used as part of struts framework ?
What is difference between interceptors and filters?
What is filter dispatcher in struts?
Which design pattern is implemented by Struts2 interceptors?