This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

@RequestBody string is escaped

 
Gajen Logandan
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have the following method in my controller,



But the requestbody is getting escaped most probably at the dispatcher. How can I avoid this?
 
Parth Bhagat
Greenhorn
Posts: 7
Java MySQL Database Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds that you are receiving detail of data posted from the form.

Are you using Spring's form taglib to create & manage form?

In that case @RequestBody will not get detail of your form fields. You can get form data from @ModelAttribute which you've set on form tag.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic