Main reasons for using servlet as a controller in struts.
why not jsp
Answer Posted / christ
If JSP's are using as a controller, then we should break the
rule of MVC. Which is the base for using struts. MVC is used
to divide the application into three part(model part, view
part and controller part). So that in future if we want to
change the view, then you do not need to do much work on
your logic part.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain how to work with error tags?
Where can I get help with struts?
What steps are required to for an application migration from Struts1 to Struts2?
What is the purpose of @emailvalidator annotation?
How can forward action be used to restrict a strut application to mvc?
Which class is the Front Controller in Struts2?
What is difference between interceptors and filters?
What is struts and springs in java?
What is form bean in struts?
What is used to display the intermediate result in an interceptor?
What is the purpose of interceptors?
How client side validation is enabled on a jsp form?
What does action do in struts?
What are the steps of struts installation?
What are the different kinds of actions in struts?