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 |
Hi Friends, why struts introduced in to web application. Plz dont send any links . Need main reason for implementing struts. Thanks Prakash
What do you mean by actionmapping?
How exceptions are handled in struts application?
In which order struts framework searches for a message bundle?
What is xml based validation in struts2?
Can u call Action class methods fro struts-config.xml file?
what is the difference between model1 and model2 architecture in struts?
What is the purpose of constant tag in struts.xml?
why do we use logic tag library in struts?
struts 1.3 features?
Can we have multiple struts config files in a single web app?
How can you create your custom interceptor in struts 2?