Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ArrayList and Display Results in JSP  RSS feed

 
Eric Tan
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't understand something very clearly. i hope that someone could help me clarify this. if i want to display a results from java into jsp. It is in an object which has several attributes. I want to retrieve all the relevant data from this object and display it in jsp. is it a necessity for me to use arraylist or maybe i don't have to?

thanks
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have more than one object to be returned to JSP, then you need to use Collection framework to pass object from model(Java) to view(JSP).

hth,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!