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 |
when the jsp page is translated to servlet?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What do you mean by web applications? Explain web application directory arrangement?
What is meant by a servlet?
what is the difference between ServletContext and ServletConfig
i am bca student,give me suggest for bright future
18 Answers BSNL, Future Considerations,
Explain the steps involved in placing a servlet within a package?
What are the important functions of filters?
Hi Friends, Can we make any method thread safe withour synchronized keyword?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is the difference between Server and Container?
How do servlets work?