how to write my own Action servlet by extending
pre-defined Action servlet in struts config.
Answer Posted / 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 |
Post New Answer View All Answers
What do you mean by struts.dev mode?
Why are struts tightly coupled?
How many struts config file can be created in struts?
If the framework doesn’t do what I want, can I request that a feature be added?
What is struts2 framework?
Can we have more than one struts-config.xml file for a single struts application?
What is the purpose of @action annotation?
Which class of struts is responsible to converts data types from string and vice versa?
What are interceptors in struts 2?
What is strut action mapping?
What is the difference between filters and interceptors ?
What is http forward?
Which components are available using actioncontext map?
What is meant by custom tags?
In struts.xml, what does the attribute "method" stands for in the "action" tag?