Tuesday, 1 October 2013

Struts2: Displaying text/huge file in textarea or frame

Struts2: Displaying text/huge file in textarea or frame

I have a huge content of data which is stored in a data-structure
(TreeMap) in the backend and I need to display that in my UI which should
be based on struts2.
Any idea on how to display the content of the Map in the struts2 front end
screen?
In backend I will be using a for loop to iterate through each record of
the map and need to display it line by line in the front end. I don't
think that I can use textarea for this. Whether there is any feature
available in struts2 to print it line by line in the front end by reading
it from backend. I am totally new to struts and It will be great if I
could get any suggestions. Please let me know in case if any clarification
is needed.

No comments:

Post a Comment