FAQ Database Discussion Community

Grails command object and 404 when space inside JSON from CURL

I have inherited a controller. When a post request is made, with a well structured JSON document everything is fine. When the JSON contains a space in a feld, 404 is returned. However, when the same request is made from mozilla restclient extension everything works. The CURL request specifically is:...

Spring MVC 2.5 Command object value is changed on form submit

I have a string variable in command object which is a hidden tag in my jsp. An on click of a button i'm setting this variable with a value(example "test") and submitting the form. On form submit, I get the control to my Validator.validate() method. In this method the value...