<bean id="configCtrl" class="ro.project.spread.ConfigureController"> <property name="formView" value="pages/config" /> <property name="successView" value="pages/view-file"></property> </bean>.. and the ConfigureController.java
public class ConfigureController extends GenericAction{
protected ModelAndView onSubmit(HttpServletRequest request) throws Exception {
// some calculations
return super.onSubmit(request);
}
}
GenericAction extends SimpleFormController.
The problem is that after I submit the form, it simply goes to "view-file.htm", but does not excute the onSubmit(...)
No errors.
Can someone help me with this?
Thank you.


Sign In
Create Account


Back to top









