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
How do cookies work in servlets?
What is a deployment descriptor?
What is the life cycle of a servlet?
What is the difference between portlet and servlet?
Difference between get and post in java servlets?
How do you create a cookie using servlet?
Who is responsible to create the object of servlet?
What is difference between server and servlet?
Which java framework is most popular?
Which event is fired at the time of session creation and destroy?
Explain load on start-up and its importance?
How can we perform any action at the time of deploying the project?
Define servlet mapping?
What are the life-cycle methods for a servlet?
Tell us something about servletcontext interface.