![]() |
displaying 2-dimensional arrays in JSPs
NB: All code given is Java code
I have declared my variable as follows: String [][] agent = new String[][]; I have populated the array successfully. I now want to print the contents of my array side by side as agent[0][0] to give me an output like: Eddy 0.8 where Eddy is in the row and 0.8 is in the column. Thank you guys! |
Re: displaying 2-dimensional arrays in JSPs
Now .
IF you have multi-D Array of Strings you can do the following . :D Code:
for(int i=0;i<arr.length ;i++) |
Re: displaying 2-dimensional arrays in JSPs
i want to display the results in a jsp.
any suggestions? |
| All times are GMT +5.5. The time now is 21:36. |