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 the disadvantage of cookies?
What is use of parseQueryString ?
Write a servlet to upload file on server.
How will you pass values from HTML page to the servlet?
How to maintain security in servlets?
Who is responsible to create the object of servlet?
What is difference between get and post method?
What is servlet interface?
Hi frnds iam new to Java Kindy any one can provide or me Servlets Example code and can explain to me flow of servlets and as Jsp and Struts and provide to me some sample example on these 3 topic flow,code example,and tutorials,and related websites which i can refer....thanks in advance..........
What happens, when client requests for server object, which is not yet loaded into the memory?
Can threads be used in Servelet?
What do you mean by session tracking and also explain its techniques?