Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fill jqgrid with java object list

 
Tamas Kiss
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it too simple or nobody knows the answer?

KiT
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic