That's a good point. I'm fairly new to jQuery and wasn't sure how to set that.
The examples at http://api.jquery.com/jQuery.post/ http://api.jquery.com/jQuery.post/ simply use "json" as the dataType argument. I'll try that as well as application/json and see if I get a little farther. Thanks for the suggestion! -Luther simonz wrote: > > 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. >> > <p> > I don't know if it is the answer to your problem or not, but I notice the > content type being sent up is: > <pre>Content-Type: application/x-www-form-urlencoded; charset=UTF-8</pre> > <p> > 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. > <p> > Of course, Stripes does internally wrap the request so that may or may not > be a factor in your issue. > <p> > Simon > -- View this message in context: http://old.nabble.com/Reading-JSON-in-an-ActionBean-tp27749822p27865353.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