File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring mvc: How to bind textarea?" Watch "Spring mvc: How to bind textarea?" New topic

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=
I agree. Here's the link:
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