File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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

comboBox works on JSP page but its empty

Peter Primrose
Ranch Hand

Joined: Sep 10, 2004
Posts: 755

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?


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

Joined: Jan 10, 2002
Posts: 62100

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]
I agree. Here's the link:
subject: comboBox works on JSP page but its empty