aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
sample code in Chapter 7 of K&B SCJP 6.0
jqGrid in Spring MVC Web App
Null Pointer Exception - ArrayList
Customize Sortling
ArrayList.get incompatible type