Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis
  • Mark post as helpful
  • send pies
  • Report post to moderator
What is a combo box?

Many GUI building platforms, like Swing and Visual Basic have a form widget that acts as a combination select list (dropdown list) and text input field. Users of this control can either select a predefined entry from the list or they can type in their own value. The 'Combo' in ComboBox (or JComboBox) comes from the word 'combination' and is used the describe this control which provides two ways for an end user to enter or select a value.

HTML does not have any such control. It has a select list which can be used to select from pre-defined values and it has an input field of type 'text' in which the user can type their own values.

Since the output of JSP is typically HTML and/or Javascript, it is also true that JSP does not provide a ComboBox.

Calling a select list a ComboBox in the HTML or JSP forums can potentially create a RedHerring which makes it less clear to people trying to help you whether or not you understand the nature of the control. By making sure that you effectively convey both the nature of your problem and your level of understanding to the readers of your question, you are helping to insure that your question is in the best position possible to be quickly and accurately answered.

Back to the JspFaq

Back to the ServletsFaq
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!