Can we override the ActionServlet?
Answers were Sorted based on User's Feedback
Answer / sr
we can not override an actionservlet because it is a class .
but we can sub class the actionservlet and we can have our
own request processor class.The above code is useful for
incuding request processor class.
Is This Answer Correct ? | 18 Yes | 2 No |
Answer / 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 |
What exactly are the functions of servlet?
What are the difference between RMI and Servlets?
request parameter how to find whether a parameter exists in the request object?
What is the process to implement doget and dopost methods?
What is generic servlet class?
How can we refresh automatically when new data has entered the database?
How to maintain security in servlets?
How can we implement a jsp page?
How to generate the server side programming and the advantages of it over the other languages?
What are the different methods of session management in servlets?
Explain web application directory arrangement?
Difference between forward() method and sendredirect() method ?