wood burning stoves*
The moose likes Other Application Frameworks and the fly likes Spring mvc: How to bind textarea? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring mvc: How to bind textarea?" Watch "Spring mvc: How to bind textarea?" New topic
Author

Spring mvc: How to bind textarea?

A Bhattacharya
Ranch Hand

Joined: Oct 22, 2007
Posts: 125
While submitting a form the text in the textarea doesn’t get submitted as it is not the “value” of the textarea. So how to accomplish it?

FYI this is how I tried but null gets submitted to the controller.




It is surprising I don’t find a single help about this on the internet.

Karina Guenther
Ranch Hand

Joined: Sep 16, 2005
Posts: 50
I had the same problem and eventually wound up with was:

The key seemed to be id=
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring mvc: How to bind textarea?
 
Similar Threads
collection getting appended on refresh of page
validation in spring
Problem with TEXTAREA
Changed values aren't set on the backing object.
About spring:bind