I'm using AJAX, JSON, with struts-2. I want to retrieve Array-collection from action to JSP (I've only one JSP which behaves as input.JSP & output.JSP). I can insert the data, update the data but when I'm trying to retrieve data, service class to action class data retrieving. But retrieving Array-collection from action to JSP not getting. I want those Array-collection in my JSP. My Struts.xml mapping is wrong. I'm not getting how to map in this case. Below is my code. Please see and correct my problem as soon as possible.
In this action, I'm getting arraycollection in str. Iwant to return to the JSP. This is the issue.
You may want to consider making use of a recently released library of classes supporting the Java Platform for DataTables. If you are looking for CRUD (Create,Read,Update,and Delete) functionality on the server side for the Java platform, JED has just been released. Check it out: http://jed-datatables.ca . You can create whatever tables in your database and JED will retrieve them for you and send the appropriate JSON string to the client side. JED has all the same functionality as the original PHP Editor.
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad: