Jump to content

Spring problem with form submission

- - - - -

  • Please log in to reply
No replies to this topic

#1
tomitzel

tomitzel

    Learning Programmer

  • Members
  • PipPipPip
  • 44 posts
<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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users