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
Explain the servlet context.
List out the difference between ServletConfig and ServletContext?
Why do we have servlet listeners?
What are the benefits of using servlet over cgi?
Explain url encoding in servlet?
What are the uses of servlets?
What is servlet container?
Can we get PrintWriter and ServletOutputStream both in a servlet?
What are the advantages of servlets over traditional cgi?
What is the major difference between servlet and applet?
Why is init() method is used in servlets?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What are the differences between forward() method and sendredirect() methods?
What do you mean by cgi in servlet?
Name the different ways of session tracking.