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 validation.xml and validator-rules.xml files in struts?

0 Answers  


Can we write Structs application without using Action Class directly or indirectly(extends Action class)

5 Answers  


drawback of Validation Framework where and how to write the connection pool object in the programe how to debug the programe and application in struts without using eclips

1 Answers  


How long do struts last?

0 Answers  


advantages& 5 disadvantages of MVC architecture

6 Answers   Satyam, TCS,






What is the purpose of @intrangefieldvalidator annotation?

0 Answers  


What does apache struts do?

0 Answers  


Can explain about the validations and in your project where did u used the validations?

4 Answers   NIIT,


In strurt why w use two differnt files web.xml and strut config.xml?

2 Answers  


How to handle exceptions in structs?

0 Answers  


What are the steps involved in creating a strut application?

0 Answers  


What is the flow of requests in struts based applications?

0 Answers  


Categories