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
How tag libraries are defined in Struts?
What is an interceptor stack?
What is the forward action utilized for?
What is the purpose of @beforeresult annotation?
What is struts in java with example?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
What is the purpose of '@customvalidator'?
Where can I get a copy of struts?
What is the purpose of action-mappings tag in struct-config.xml?
how to develop the submit and search operations in single jsp using struts?
What do struts do?
how to debug struts project in netbean ?
What is the use of web xml in struts2?
What is the significance of logic tags in Struts?
What is the purpose of dispatcher result type?