Home » Developer & Programmer » JDeveloper, Java & XML » putting values on the same row of the jsp
putting values on the same row of the jsp [message #547818] Sat, 17 March 2012 00:52
Messages: 4
Registered: March 2012
Junior Member
I have an ArrayList,

ArrayList<PartyDocumentNodeVO> docs = new ArrayList<PartyDocumentNodeVO>();

and I have 3 VOs (same VO in 3 different loops, so, different names) pulling values from 3 different tables in the DB. These 3 VOs point to the same arraylist, docs, and supposed to put values on the jsp on the same rows because 3 different tables give individual column values for the jsp.

JSP(9columns)<--->Controller<----->DAO<------>DB(3tables. Each table has unique columns to fill up jsp row values)

3 VOs (below, again these VOs refer to the same VO, PartyDocumentNodeVO)) are:


This (below) is the end of the Return statement,

PartyDocumentNodeVO[] theReturn = new PartyDocumentNodeVO[docs
return theReturn;

With this setup, it's putting the values on different rows by creating new rows on the jsp. I like it to put on the same row.
How do I write the Return array statement?
Any help please?

Previous Topic: Regular expression for exact word and occurance
Next Topic: Convert XML message to CSV and assign it to "anyType" element
Goto Forum:

Current Time: Thu Aug 11 07:29:49 CDT 2022