This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes fill jqgrid with java object list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "fill jqgrid with java object list" Watch "fill jqgrid with java object list" New topic
Author

fill jqgrid with java object list

Tamas Kiss
Greenhorn

Joined: Aug 19, 2011
Posts: 2
Hello!

JQuery UI, JQGrid, JSP, Struts2 and data from DB in java list. I wanna use this

Java object:



I fill an ArrayList of car in CarList.java



I made carlist.jsp. I wanna use carList in this jsp to fill JQGrid with data.


How can I use carList java ArrayList? For example how can I read carList[i].name(), carList[i].type().ToString() in for cycle?

Thanks
KiT
Tamas Kiss
Greenhorn

Joined: Aug 19, 2011
Posts: 2
Is it too simple or nobody knows the answer?

KiT
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: fill jqgrid with java object list