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
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
Hi,
I'm using a Struts2 action to devliver JSON data. This action is calleb by an
Ajax HTTP request. Now, I need to send some parameter along with the request.
The sending of the parameters works fine but I don't know how to access them
from within the struts action.
So my question is: what is
3 matches
Mail list logo