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 |
Can we define constructor in Servlet class?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What's the advantages using servlets than using cgi?
Which java framework is most popular?
What is HTTP Session ?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
what is EJB and Java servlet
What is setattribute in servlet?
How a servlet is unloaded?
Explain load on start-up and its importance?
Is there any need to shutdown the web server, if you want to modify a servlet?
where the generated jsp source file are stored?