Main reasons for using servlet as a controller in struts.
why not jsp
Answer Posted / sitaram
JSP is a presentation layer (view). JSP is not a controller.
servlet is controller. because we can manipulate and add the
server-side we can write in the servelt.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
In struts, how can we access java beans and their properties?
What are the two scope types for formbeans?
What is the purpose of struct-config.xml in struct2?
How does one create an action in struts 2?
What is the use of namespace in action mapping in Struts2?
List some struts tag libraries?
What do you mean by actionservlet?
Explain how can we upload files in struts2 application?
Are struts and shocks the same?
What are the classes used as part of struts framework ?
What is xml based validation in struts2?
Is struts action class singleton?
Does apache tomcat use struts?
How is the action mapping specified?
How many instances of servlet usually run in a struts application ?