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 the difference between requestaware and servletrequestaware interface?

0 Answers  


What are the various struts tag libraries?

0 Answers  


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

0 Answers   TCS,


What is struts-default package and what are it’s benefits?

0 Answers  


Can we use struts and spring together?

0 Answers  






Explain about tiles?

0 Answers  


kindly can any one post for me portlet,hibernate,spring example code and configuration,and some related tutorials plz its urgent for me....thanks in advance ............

1 Answers  


Describe the two types of formbeans.

0 Answers  


List some struts tag libraries?

0 Answers  


who will run the execute method in struts?

15 Answers   TCS, Wipro,


Explain the difference between plain-validator and field-validator in struts?

0 Answers  


How to pass runtime Parameter in Struts1.2?

2 Answers  


Categories