I was wondering if someone could help me with a problem I'm having. Part of my web application requires that I allow the user to choose the columns he wishes to perform an SQL query on.
Because I can't use <bean:write property=".../> tags (what columns the application shows in the table will change according to the query performed), I chose to create an ArrayList of ArrayLists of Strings where each string should represent one element of one row.
hmmm...nothing jumps out at me. I have not used generics much and never with nested collections. It seems like it should work fine. Is this valid code or just a post error? ArrayList<String> employee = new ArrayList<Employee>();
About all I can say it to make sure you have taglib directive for logic. I am not sure how many hours I have wasted tracking down issues that turned out to be this simple mistake.