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 about tiles?
How to handle exceptions in structs?
What is struts? Explain
What is the configuration files used in struts?
Who makes the struts?
What is lookupdispatchaction?
What are apache struts?
Explain the core end goal while using java struts?
Which interceptor is responsible for i18n support?
Explain struts.devmode?
What are the two types of validations supported by validator framework?
How does interceptor work in struts2?
What do you mean by the abstract package in struts2, and what is its utilization?
Which configuration file is used for storing jsp configuration information in struts?
What is spring and struts in java?