how to write my own Action servlet by extending
pre-defined Action servlet in struts config.
Answers were Sorted based on User's Feedback
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 |
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 |
What is package name in struts xml?
What are result types in struts?
What is the use of ActionErrors in Struts?
explain the Struts flow?
Give an example of validates method used to avoid errors.
What are interceptors in struts 2?
What is the purpose of @keyproperty annotation annotation?
What are inner class and anonymous class?
What does validation interceptor?
What is the difference between struts and spring?
What are the some useful annotations introduced in struts2?
why do we use logic tag library in struts?