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 |
Difference between ActionErrors and ActionMessage?
Is struts 1 still supported?
What is the purpose of @stringlengthfieldvalidator annotation?
What is the purpose of @element annotation annotation?
What is the purpose of form-be tag in struct-config.xml?
i have a log in web application .... i want restrict the user for particular no of users what is procedure to develop thus application
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What are the major differences between html tags and strut specific html tags?
Can you call Action class methods from Struts config.xml?
What is ognl?
How we can install struts?
Can u call Action class methods fro struts-config.xml file?