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 struts?
How are interceptors and servlet filters different?
What is the role of a handler in mvc based applications?
What are action errors and error?
How is forward action used for integration?
How do you find the struts version being used in a project?
What is the difference between shocks and struts?
How action-mapping tag is used for request forwarding in struts configuration file?
What is apache struts framework?
Explain the components of struts?
What is the purpose of @beforeresult annotation?
Do we need to pay the struts if being used in commercial purpose?
How an actionform bean is created?
What is request processor and how does it relates to action mapping?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?