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 the Struts flow?

4 Answers   Wipro,


What are the differences between http direct and http indirect?

0 Answers  


Why do we need mapdispatchtoprops?

0 Answers  


struts 1.3 features?

1 Answers   Integra, Zensar,


State the procedure for using forward attribute of link tag’s.

0 Answers  


Where should struts xml be placed?

0 Answers  


In web.xml file instead of *.do can i write *.ibm, Specify with example

13 Answers   IBM,


How many types of action clases are there in stuts and their uses?

15 Answers   OHO, TCS, Wipro,


What is Custom Type Converter in Struts2?

0 Answers  


what is purpose cvs and vss in eclipse?

2 Answers  


struts is thread safe or not ?give me answer as early as possible

5 Answers  


What kind of mvc is struts 2?

0 Answers  


Categories