On Thursday 08 January 2009 18:12:48 John Cartwright wrote: > No, in this case the mime type is not application/x-www-form-urlencoded > and not sent w/ KVP from a form. The body of the POST is all content. > Hmm, then I'm sorry I'm probably not going to be much help. Although I've done quite a bit of this sort of thing in the past, I always made sure that the body content was written as "data=<xmlblob/> by the client, and I don't think/remember that the mime type being sent by the client as being particularly significant.
So ideas, assuming that you can't change your client to write the body as a key/value. Firstly I'd be surprised if Struts actually ignored/dropped your data so maybe the first thing to try is to post your data to an action and then look for any error/info messages that might give a hint as to what is going on if Struts can't map your request data to the RequestMap. You could look at implementing the ServletAware interface & interceptor, but this ties your action too closely to the transport mechanism for my taste and makes testing a little more cumbersome. If all else fails, I'd be tempted to create a custom interceptor that looks for these Posts and changes the body of the post to a key/value pair. Sorry I can't be of more help. Regards --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org