Can we override the ActionServlet?

Answer Posted / vivek dubey

Yes we can modify the functionality of Action Servlet.
to do this we have to extend the RequestProcessor class and
overwrite the processPreprocess method.
and then add following tag in Struts-config.xml
<processor
className="org.abc.comp.ExtendedRequestProcessorClass"/>

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

536


What is session tracking?

696


What is load-on-startup in servlet?

580


What is pure servlet?

693


What exactly are the functions of servlet?

597






What is meant by cookies?

610


What is cookies in servlet with example?

516


Why is init() method is used in servlets?

552


How printwriter is different from servletoutputstream?

577


What is servlet instance?

540


What is servlet? Explain

577


What are the common methods that are included in the http servlet class?

576


What are the life cycle methods of a servlet?

587


How do I support both get and post from the same servlet?

694


What is servlet lazy loading?

691