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
What is jakarta struts framework?
What is structs 2 validation framework?
What is the design role played by struts?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is the use of struts config xml file?
In which method of action class the business logic is executed?
What is spring and struts in java?
What is includeaction?
What is the purpose of execute() method?
What is the difference between validation.xml and validator-rules.xml files in struts?
What is spring hibernate and struts in java?
Give an example where struts tiles may be used?
What is the purpose of global-forwards tag in struct-config.xml?
What is container struts2?
Can you explain struts.properties in struts2?