Re: Proccessing parameters inside Struts action

2009-10-12 Thread Terry Gardner
In the commons classes at http://kenai.com/projects/commons, there is a class ServletUtils with the following code to extract parameters and place them into a Collection from a servlet request (which can be obtained via ServletActionContext.getRequest()): public static Collection getP

Re: Proccessing parameters inside Struts action

2009-10-12 Thread Paweł Wielgus
Hi Michael, when You have in POST request myParam with myValue then in action simply add public setter setMyParam(String value) it's same as for standard request. Best greetings, Paweł Wielgus. 2009/10/12 Michael Varlik : > Hi, > > I'm using a Struts2 action to devliver JSON data. This action is