Can we write our own ActionServlet for front controller of
Struts Applications?

Answer Posted / nmreddy

yes,

1.Take any servlet it must extends predefined ActionServlet
2. call super class methods
3.our own logic
4.it must be configure in web.xml file

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts framework in java?

528


What is Struts2?

618


What are the steps of struts installation?

568


What are the contents on web.xml in struts application ?

511


How can we display validation errors on jsp page?

532






What is struts and why it is used?

493


What is form bean in struts?

509


Explain about token feature in struts?

551


How struts control data flow?

532


What is the purpose of @beforeresult annotation?

572


What is apache struts cve 2017 5638?

542


What is http forward?

548


What is the role of a handler in mvc based applications?

743


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

613


What is difference between lookupdispatchaction and dispatchaction?

627