I have an ArrayList of Location Objects each with name, phone, address, city. Currently I have a setup where I can go
LocationList loc = new LocationList("CA");
System.out.println(loc.size());
The preceding returns a list size of 200 objects in netbeans. However, once I try to display the list in display tag I get a list back that contains absolutely nothing and displaytag shows that there is NOTHING TO DISPLAY. The list works when I manually do a LocationList.add(blah, blah) in the .jsp. However, why is my list going away with displaytag?
I have an ArrayList of Location Objects each with name, phone, address, city. Currently I have a setup where I can go
LocationList loc = new LocationList("CA");
System.out.println(loc.size());
The preceding returns a list size of 200 objects in netbeans. However, once I try to display the list in display tag I get a list back that contains absolutely nothing and displaytag shows that there is NOTHING TO DISPLAY. The list works when I manually do a LocationList.add(blah, blah) in the .jsp. However, why is my list going away with displaytag?
<jsp:scriplet>
request.setAttribute("test", new LocationList("CA");
</jsp:scriplet>
display:table name= "test" class="${tableclass}" >
</display:table>