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
How to override the default error message that can come during file uploading process?
Are actions thread safe?
Do I have to credit struts on my own website?
Provide some important Struts2 constants that you have used?
Does apache struts run on windows?
What is the difference between empty default namespace and root namespace?
Can we handle exceptions in Struts programmatically?
What are the two scope types for formbeans?
Why use struts framework in java?
What is the purpose of @doublerangefieldvalidator annotation?
What is struts validator framework?
Can explain about the validations and in your project where did u used the validations?
What is the purpose of execute method of action class?
What is the purpose of @conversion annotation annotation?
Why it called struts?