File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes comboBox works on JSP page but its empty Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 56204
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: comboBox works on JSP page but its empty
 
Similar Threads
blank combobox, what's missing?
Combobox Problem
comboBox works on JSP page but its empty
Dynamic selection in Combobox
on