Re: [S2] best practice for reading POST body in an action

2009-01-09 Thread Roger Varley
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 bi

Re: [S2] best practice for reading POST body in an action

2009-01-08 Thread John Cartwright
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. --john Roger Varley wrote: On Wednesday 07 January 2009 17:58:48 John Cartwright wrote: Hello All, Is there a best practice for using the body of

Re: [S2] best practice for reading POST body in an action

2009-01-07 Thread Roger Varley
On Wednesday 07 January 2009 17:58:48 John Cartwright wrote: > Hello All, > > Is there a best practice for using the body of a POST request w/in an > action? The request is not key/value pairs but a blob of XML. Before I > dropped back to using a traditional HTTPServletRequest approach, I'd see >

[S2] best practice for reading POST body in an action

2009-01-07 Thread John Cartwright
Hello All, Is there a best practice for using the body of a POST request w/in an action? The request is not key/value pairs but a blob of XML. Before I dropped back to using a traditional HTTPServletRequest approach, I'd see if there was a better way in S2. Thanks! --john --

Re: [S2] Best practice

2007-02-23 Thread janbrito
Thanks for your comments. It makes sense. Brian Thompson-5 wrote: > > In my web project, I divide actions up logically by what they deal with. > For your menu example, I'd have MenuAction. For displaying data > pages, I have PageAction. I also separate management of the various > data