Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we override the ActionServlet?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the servlet context.

1209


List out the difference between ServletConfig and ServletContext?

1103


Why do we have servlet listeners?

1128


What are the benefits of using servlet over cgi?

1130


Explain url encoding in servlet?

1104


What are the uses of servlets?

1224


What is servlet container?

1161


Can we get PrintWriter and ServletOutputStream both in a servlet?

1190


What are the advantages of servlets over traditional cgi?

1145


What is the major difference between servlet and applet?

1060


Why is init() method is used in servlets?

1078


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1165


What are the differences between forward() method and sendredirect() methods?

1080


What do you mean by cgi in servlet?

1129


Name the different ways of session tracking.

1081