This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
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.