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 difference between interceptors and filters?
What do you mean by action errors and what are the results they force?
Does apache struts run on windows?
What is the use of resourcebundle.properties file in Struts Validation framework?
What is the purpose of @element annotation annotation?
How can we write our own interceptor and map it for action?
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 struts.devmode?
Explain about logic match tag?
Where can I get help with struts?
Why are springs better than struts?
How many servlet controllers are used in a Struts Application?
What is struts and why it is used?
What are Struts2 core components?