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
How to build struts application in eclipse?
What is action class? What are the types of action class?
Explain about how requests from the client are sent?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
How can you create your custom interceptor in struts 2?
Explain about tiles?
What is s token?
What is an interceptor stack?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is the difference between empty default namespace and root namespace?
Can you explain struts.properties in struts2?
Where should struts xml be placed?
Why do we need struts?
Explain the difference between jakarta struts and apache struts?
What is token used for?