This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes comboBox works on JSP page but its empty Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "comboBox works on JSP page but its empty" Watch "comboBox works on JSP page but its empty" New topic
Author

comboBox works on JSP page but its empty

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755
Guys,

I'm preparing a combobox with the following below.


Later I am calling the arrayList, categories, from my JSP page (it's a struts application) and it looks like this:



the user can see the drop down box on the page but for some reason, and this is where my question kicks in, the comboBox is empty?!?! why?

thanks.

* the arrayList is prepare before the jsp page (startupManager)
[ September 30, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

Since your question concerns Struts tags, this has been moved to the Struts forum.

And (a pet peeve of mine) it's not a "combobox" -- that's a completely different type of control that is not available in HTML.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: comboBox works on JSP page but its empty