S
stephenfu1
Hi
In my JSP i have some scriptet code that defines the method
display(ArrayList a, String s)
and is called using
<%=display(personDetails.getList1, "List 1")%>
<%=display(personDetails.getList2, "List 2")%>
This method performs some checks on the ArrayList and writes some html
code and text to the screen.
I'd like to clean up the code (using Struts) and move this method into
a separate helper class
Is there a variation on <bean:write name="personDetails"
property="display"/> that i can use to call display(ArrayList a, String
s). I need to be able to pass in the arguments (to output p.getList1
and p.getList2 and perform some other logic)
Thanks for any help
In my JSP i have some scriptet code that defines the method
display(ArrayList a, String s)
and is called using
<%=display(personDetails.getList1, "List 1")%>
<%=display(personDetails.getList2, "List 2")%>
This method performs some checks on the ArrayList and writes some html
code and text to the screen.
I'd like to clean up the code (using Struts) and move this method into
a separate helper class
Is there a variation on <bean:write name="personDetails"
property="display"/> that i can use to call display(ArrayList a, String
s). I need to be able to pass in the arguments (to output p.getList1
and p.getList2 and perform some other logic)
Thanks for any help