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...


how to write my own Action servlet by extending
pre-defined Action servlet in struts config.

Answers were Sorted based on User's Feedback



how to write my own Action servlet by extending pre-defined Action servlet in struts config...

Answer / chandra

to write you r own action servlet u need to extend the
ReqestProcessor and override the methods u want...
and in struts-config.xml specify the controller
<controller
processorClass="org.apache.struts.action.RequestProcessor"
/>;

Is This Answer Correct ?    4 Yes 6 No

how to write my own Action servlet by extending pre-defined Action servlet in struts config...

Answer / kans

am not sure but folloing is the answer for this
we can write our own action servlet by extending
requestprocessor,requestprocessor is the class where u
define ur own methods,like processpreprocess().isUserinRole
()

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More Struts Interview Questions

What is package name in struts xml?

0 Answers  


What are result types in struts?

0 Answers  


What is the use of ActionErrors in Struts?

2 Answers   HCL, TCS,


explain the Struts flow?

4 Answers   Wipro,


Give an example of validates method used to avoid errors.

0 Answers  


What are interceptors in struts 2?

0 Answers  


What is the purpose of @keyproperty annotation annotation?

0 Answers  


What are inner class and anonymous class?

0 Answers  


What does validation interceptor?

0 Answers  


What is the difference between struts and spring?

0 Answers  


What are the some useful annotations introduced in struts2?

0 Answers  


why do we use logic tag library in struts?

1 Answers   Polaris,


Categories