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
What is actioninvocation in struts2?
Can we use struts and spring together?
How struts2 supports internationalization?
Why it called struts?
How to handle exceptions in structs?
What do you mean by ognl?
What are the action classes in struts?
How many action classes can be used in struts application?
Explain the core end goal while using java struts?
What is the front controller in struts2?
How to get data from the velocity page in a action class?
Which interceptor is responsible for file upload support?
What are action errors?
What is the use of token interceptor in Struts2?
What configuration changes are required to use resource files in Struts?