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 the default location of result pages and how can we change it?
What’s the utilization of struts.xml configuration file?
What is the procedure of operation of a form tag?
What is the use of execAndWait interceptor?
What is the design role played by struts?
Why actionservlet is singleton in struts?
What is the purpose of execute() method?
How exceptions are handled in struts application?
What are construction struts?
What is includeaction?
Is struts action class singleton?
What does validation interceptor?
Can we handle exceptions in Struts programmatically?
How to work with error tags?
What is struts in j2ee?