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

Explain about how requests from the client are sent?

0 Answers  


How is the action mapping specified?

0 Answers  


What does execandwait interceptor?

0 Answers  


What is the purpose of global-forwards tag in struct-config.xml?

0 Answers  


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

3 Answers  


What are the components of struts?

0 Answers  


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

0 Answers  


What is interceptor in Struts2?

0 Answers  


What is Request Dispatcher and What is reuest Processor??

2 Answers  


What is lookupdispatchaction?

0 Answers  


How does struts2 token work?

0 Answers  


What is the purpose of @before annotation?

0 Answers  


Categories