Hi Luther,
luther.baker wrote:
>
> That works out for this case Freddy. Thanks for the suggestion.
>
> If I have cause to read the body directly ... is there a mechanism to do
> that from within Stripes? Unless I'm missing something, it appears as if
> Stripes is scrubbing the body of the post.
>
> Thanks again for your help Freddy.
>
I don't know if it is the answer to your problem or not, but I notice the
content type being sent up is:
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
This, of course, is totally incorrect if you are sending raw JSON up. You
might have better luck if you set it correctly to applicaton/json or similar
as that might prevent the servlet container from touching the body.
Of course, Stripes does internally wrap the request so that may or may not
be a factor in your issue.
Simon
--
View this message in context:
http://old.nabble.com/Reading-JSON-in-an-ActionBean-tp27749822p27859141.html
Sent from the stripes-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users