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 is Servlet Context?
which type of data passing is used in realtime?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What is the need of session tracking in web application?
How many ways to remove the session object in the container
what is OOAS
What does the term localization refer to?
How can you start a jta transaction from a servlet deployed on jboss?
Define the servlet mapping.
What is cookie in servlet?
What is the servletconfig object?
If some new data has entered the database, explain how can a servlet refresh automatically?