wood burning stoves 2.0*
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
 
Similar Threads
ArrayList.get incompatible type
Null Pointer Exception - ArrayList
jqGrid in Spring MVC Web App
sample code in Chapter 7 of K&B SCJP 6.0
Customize Sortling