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
Is struts efficient?
How tag libraries are defined in Struts?
When should we use SwtichAction?
What is actioncontext?
What is the purpose of @key annotation annotation?
Give an alternative way to protect jsp’s with not much features from direct access.
What should be the name of xml file used for validation in struts?
What are the core classes of the struts framework?
What are the core classes of struts?
What helpers in the form of jsp pages are provided in struts framework?
What is the use of reset method of ActionForm class?
Is there a particularly good ide to use with struts?
What is front controller in struts?
What is the purpose of @intrangefieldvalidator annotation?
Difference between struts and spring?