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


Please Help Members By Posting Answers For Below Questions

What do you mean by struts.dev mode?

537


At the point, you should go for struts framework?

549


What are the core components of a struct2 based application?

564


What is the purpose of @validations annotation?

570


What is the purpose of @conversionerrorfieldvalidator annotation?

623






What is the purpose of @beforeresult?

607


How action-mapping tag is used for request forwarding in struts configuration file?

586


In struts.xml, what does the attribute "method" stands for in the "action" tag?

535


What is apache struts vulnerability?

548


What is strut web xml?

535


Lists the bundled validators in struts?

555


What does validation interceptor?

549


What are the steps of struts installation?

574


What is the default suffix for struts2 action uri ?

552


What is struts.devmode?

577