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

Explain how to improve Servlet Performance?

691


What is preinitialization of a servlet?

673


What is difference between server and servlet?

656


What are the mechanisms used by a servlet container for maintaining session information?

663


What is servlet mapping?

670






What is life cycle of Servlet?

679


Define servlet mapping?

758


Describe in brief RequestDespatcher?

677


What is the difference between forward () and sendredirect () functions in servlet? Explain

637


What do you mean by servlet?

793


Why do you use session tracking in httpservlet?

721


How servlet is created?

650


What are the phases of a servlet life cycle?

708


What are the functions of Servlet container?

703


What exactly are the functions of servlet?

691