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

Hi Friends, why struts introduced in to web application. Plz dont send any links . Need main reason for implementing struts. Thanks Prakash

4 Answers  


What do you mean by actionmapping?

0 Answers  


How exceptions are handled in struts application?

0 Answers  


In which order struts framework searches for a message bundle?

0 Answers  


What is xml based validation in struts2?

0 Answers  


Can u call Action class methods fro struts-config.xml file?

2 Answers   iGate,


what is the difference between model1 and model2 architecture in struts?

3 Answers  


What is the purpose of constant tag in struts.xml?

0 Answers  


why do we use logic tag library in struts?

1 Answers   Polaris,


struts 1.3 features?

1 Answers   Integra, Zensar,


Can we have multiple struts config files in a single web app?

0 Answers  


How can you create your custom interceptor in struts 2?

0 Answers  


Categories