Answer Posted / manjunath more
public class MyAction extends Action{
public MyAction(){
}
public ActionForward execute(ActionMapping
mapping,ActionForm form,Request,Resopnse){
//some code
}
}
This will work...
It means you can write constructor in Action classes.
If you have any queries drop me a mail on
manjunathmore@gmail.com
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
how to debug struts project in netbean ?
What does modeldriven interceptor?
How does struts2 token work?
What does action do in struts?
What are action classes in struts?
Which interceptor is responsible for i18n support?
What is the different actions available in struts?
What are the classes used as part of struts framework ?
How do struts work?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
Which tag is used to declare constants in struts xml?
What are apache struts?
Explain about token feature in struts?
For a single Struts application, can we have multiple struts-config.xml files?
How action-mapping tag is used for request forwarding in struts configuration file?