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 configuration changes are required to use Tiles in Struts?

571


What is the purpose of @stringlengthfieldvalidator annotation?

606


What validate() and reset() method does ?

548


What are the cons of struts 2?

576


What does action do in struts?

541






How to work with error tags?

569


What is struts xml?

445


What do you mean by actionservlet?

553


What are the conditions for actionform to work correctly?

529


How interceptor works in struts 2?

597


What is struts validator framework?

553


How does struts2 token work?

531


What are the pros of struts 2?

564


What configuration files are used in struts?

535


What is defeult result type?

632