Main reasons for using servlet as a controller in struts.
why not jsp
Answer Posted / srinu
jsp means very less code in java.and also their is no tags
for intigrate with other logic.i.e means controll with
other logic just like as connection polling,data accessing
object,persistance logic.suppose u take as jsp as
controller programmer feels lot of complexity.Hence
industry recomended struts as controller.in servlet easy
intigrate with other logic.
Industry recomended as MVC rule servlets as controller,jsp
as view layer.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is apache struts framework?
What is struts2 namespace?
What is controller in struts2?
What is spring and struts in java?
How many instances of servlet usually run in a struts application ?
What is difference between spring and struts?
What is the use of interceptor?
What is the procedure of operation of a form tag?
What is struts in j2ee?
What are the steps required for setting up validator framework in struts?
What are the components of struts framework?
What does i18n interceptor?
Is struts mvc framework?
What is the difference between forwardaction and includeaction?
Why we use struts in java?