K
Ken
With a multitude of options out there I wonder what the best way to do
something...
I have several java.util.Lists that I need to merge together and
display on a static web page. The two lists will become one html
table.
My choices (so far as I know) are to merge the lists into a new
container (probably a ArrayList) and then display it with Struts 2 tag
library... or just perform the logic in the JSP, as I see the JSP as
the View. I think keeping as much logic out of JSP's looks nicer...
So are there tags that can display the contents of containers to into
tables and if so what are they?
This will be implemented shortly but am new to Struts 2 and want to do
it the _right_ way, or at least not a terrible way.
something...
I have several java.util.Lists that I need to merge together and
display on a static web page. The two lists will become one html
table.
My choices (so far as I know) are to merge the lists into a new
container (probably a ArrayList) and then display it with Struts 2 tag
library... or just perform the logic in the JSP, as I see the JSP as
the View. I think keeping as much logic out of JSP's looks nicer...
So are there tags that can display the contents of containers to into
tables and if so what are they?
This will be implemented shortly but am new to Struts 2 and want to do
it the _right_ way, or at least not a terrible way.