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 the use of lookupdispatchaction?
Explain about the validation steps which have to be carried during validation of client-side address?
Why is action servlet a singleton in struts?
What does validation interceptor?
Who makes the struts?
What is the naming convention for a resource bundle file in struts2?
What does action do in struts?
What is the role of a handler in mvc based applications?
Describe the mvc on struts?
How can we display validation errors on jsp page?
Why use struts framework in java?
What configurations are stored in struts configuration file ?
What validate() and reset() method does ?
What is the purpose of @before annotation?
Can a reducer dispatch an action?