• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring mvc: How to bind textarea?

 
A Bhattacharya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had the same problem and eventually wound up with was:

The key seemed to be id=
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic