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

Whats the difference between the default namespace and the root namespace?

0 Answers  


What applications use apache struts?

0 Answers  


What is struts in j2ee?

0 Answers  


What is actionmapping?

0 Answers  


What is actionform in struts?

0 Answers  






Is form beans are serializable or not?

11 Answers   College School Exams Tests, Magna Infotech,


Hi Friends, am new to struts.I read that " you can store variables in xml file(properties file) and for future enhancements we just call properties file . Now i want to implement this , where can i call properties file to enhance my application. My question is where this properties file will be called.

1 Answers  


How action mapping is configured in Struts?

0 Answers  


Why is action servlet a singleton in struts?

0 Answers  


What are the benefits of the struts system?

0 Answers  


What are pull and push mvc architecture and which architecture does struts2 follow?

0 Answers  


How to explain Software Bank Loan descriptions

0 Answers   Kekran Mekran, Wipro,


Categories