It looks good to me. Maybe there are no object to iterate over
Try: <logic:iterate id="FileInfo" name="dirList" type="util.FileInfoDTO"> <bean:write name="FileInfo" property="name"/><br> </logic:iterate> This should get the enumeration out of the request directly (since you set in both form and request to test). See if you get the same result (of nothing showing up). If you get a different result then you must not be doing the action mapping correctly or something. -----Original Message----- From: Nielsen, Jim [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 3:02 PM To: '[EMAIL PROTECTED]' Subject: iterate over an Enumeration Help. I am new to Struts and trying to figure out an iterate problem. I have an action class that uses a business class to return an Enumeration of objects. I am trying to pass the enumeration back to jsp and iterate through the set of objects, displaying attributes for each object in the set. I'm not having any luck figuring this out. The action class get the info and sets a variable in the form and also sets an Attribute (just trying to see what works) DirListForm dlf = (DirListForm) form; Enumeration dirList = fh.getDirListWithSubDirs(appAbsPath); dlf.setDirList(dirList); request.setAttribute(Constants.DIR_LIST_KEY, dirList); The JSP has this: <logic:iterate id="FileInfo" property="dirList" type="util.FileInfoDTO"> <bean:write name="FileInfo" property="name"/><br> </logic:iterate> What do I need to change to get the iterate to 'iterate' over the Enumeration of objects? Any and all help is appreciated. Jim Nielsen EDS [EMAIL PROTECTED] phone: (810) 234-4025 (8-394) AOL IM: JimRNielsenEDS GLTC-B 4100 S. Saginaw., MC: 485-303-321 Flint, MI 48557 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]