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
How can we display validation errors on jsp page?
What is the procedure of operation of a form tag?
Which model components are supported by Struts?
In which order struts framework searches for a message bundle?
What is the use of web xml in struts2?
What is the design role played by struts?
What is validate() and reset() functions?
What is the apache struts vulnerability?
What is struts and why it is used?
Can you give an overview of how a struts application flows?
What is form bean in struts?
What is the purpose of constant tag in struts.xml?
Why actionservlet is singleton in struts?
Explain about the process of functioning of the struts program?
What are the life cycle methods of interceptor?