Hi, I have an object that contains two collections. I write the object to HttpServletRequest so that the struts tags can use them. I now have a page where I want to use the html ption tag using one of the collections in my object. I can see how to do it if I just had the collection in the HttpServletRequest, but I can't see how I can access objects within the objects. Can anyone point me in the right direction? Thanks Jag
posted 12 years ago
hi, You want to access a collection object from an object that holds two collections. So, why don't you put a method in your collection holder class to return the collection. Once you have the collection returned by calling that method then you know how to display the contents of the collection using html ption.