aspose file tools*
The moose likes Struts and the fly likes Problem using html:option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem using html:option" Watch "Problem using html:option" New topic
Author

Problem using html:option

Jag Bains
Ranch Hand

Joined: Nov 19, 2002
Posts: 39
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
Sazzad Rafique
Greenhorn

Joined: Jul 29, 2003
Posts: 5
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem using html:option