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 struts2 supports internationalization?
How to upload struts file?
What is struts framework in java?
In struts, how can we access java beans and their properties?
What are the benefits of the struts system?
What's the purpose of execute method of action class?
How you will display validation fail errors on jsp page?
How does struts work?
How is declarative handling of exceptions done in struts ?
What is the purpose of dispatcher result type?
Is struts efficient?
What are the advantages of spring mvc over struts mvc?
Can we use struts and spring together?
What is struts?
How properties of a form are validated in Struts?