This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 62
I had the same problem and eventually wound up with was:

The key seemed to be id=
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Spring mvc: How to bind textarea?
It's not a secret anymore!