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
What is struts validator framework?
What are the loop holes of struts?
What is the apache struts vulnerability?
What are the steps required for setting up validator framework in struts?
In which order struts framework searches for a message bundle?
Describe the two types of formbeans.
What are the features of struts 2?
What is the role of action class in struts?
What is struts2 namespace?
What are the pros of struts 2?
What are inner class and anonymous class?
State an example of struts configuration file as an action parameter for action servlet.
What are the advantages of spring mvc over struts mvc?
How exceptions are handled in struts application?
How we can controlled duplicate form submission in struts?