How to explictely obtain post data in Spring MVC?

Posted by predhme on Stack Overflow See other posts from Stack Overflow or by predhme
Published on 2010-03-22T18:32:24Z Indexed on 2010/03/22 18:41 UTC
Read the original article Hit count: 281

Filed under:
|

Is there a way to obtain the post data itself? I know spring handles binding post data to java objects. But if I had two fields that I want to process manually, how do I obtain that data?

Assuming I had two fields in my form

 <input type="text" name="value1" id="value1"/>
 <input type="text" name="value2" id="value2"/>

How would I go about retrieving those values in my controller?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring-mvc