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 request processor class ?

10 Answers   Fidelity,


What do struts do?

0 Answers  


How display data base errors on web console by using the Struts Framework?

2 Answers  


what is meant by Struts Validator Framework?

0 Answers   Cap Gemini,


What is the use of execAndWait interceptor?

0 Answers  






What is the significance of logic tags in Struts?

0 Answers  


Why is it called struts?

0 Answers  


What is the use of lookupdispatchaction?

0 Answers  


Briefly tell the two kinds of form beans.

0 Answers  


why servlet is used as controller not JSP?

9 Answers   MCS,


how you provide security in your banking project

1 Answers   IBM,


what are the type of forward class in Struts?

5 Answers   Wipro,


Categories