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
Which method of the httpservletrequest object is used?
Explain servlet life cycle?
Write a servlet to upload file on server.
What is meant by a servlet?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
Which event is fired at the time of project deployment and undeployment?
Explain the custom jsp tags and the beans.
What are the different methods involved in generic servlet?
How can an existing session be invalidated?
What are the phases of servlet life cycle?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What is the procedure of invoking different servlet in a different application?
What is servlet and how it works?
What do you mean by interservlet communication?
What is the life-cycle of servlets?