Displaying Contents of an Array

Hey Guys,I have written a program that read a text file and stores the elements of each word in each line in two different arrays. Can someone show me or direct me to an example of how I would display the contents on a .jsp page.Thank You
[259 byte] By [DontKnowJacka] at [2007-11-26 15:28:12]
# 1

Hi DontKnowJack,

I am not sure with your program but I can help you how to display Array in JSP! It is quite a bit trivial! But you should use scriptlet to do so like this...

<%

for( int counter = 0; counter < yourArray.length; counter++ )

{

%>

Display Array counter number <%= counter %> is <%= yourArray [ counter ] %>

<%

}

%>

I hope my answer can help you!

From wizz

-wizz-a at 2007-7-8 21:44:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...