I'm using jqGrid for a table input and setting up the url as a servlet which will deal with the GET and POST requests and save the rows to a Java object.
I'm using webwork web framework and I was wondering how I can get access to the object that the servlet is saving the data to.
One way I have thought of is to just call the GET method from the Java action class which the servlet will return a JSON string with the object data.
Is there a better design for doing this?
This is probably not too clear so ask questions so I can help get across my point.
Thanks