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 are the advantages of spring mvc over struts mvc?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
Which configuration file is used for storing jsp configuration information in struts?
What is the difference between empty default namespace and root namespace?
Describe the mvc on struts?
What are the differences between http direct and http indirect?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
Whats the difference between the default namespace and the root namespace?
Explain about the
What are the core classes of struts?
List some struts tag libraries?
Provide some important Struts2 constants that you have used?
What is the purpose of @requiredstringvalidator?
Why use spring, if you are already using struts?
How you will make available any message resources definitions file to the struts framework environment?