• Post Reply Bookmark Topic Watch Topic
  • New 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

select drop down question

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a question on this, particular type os drop down select.
Has anyone implemented it in similar way or a easier way? Could you please guide me?
Such a code is occuring 3 times in my jsp. with different property name ofcourse.


<html:select property="productIdDrop">
<html ption value="" ><bean:message key="select.one" bundle="Resources"/></html ption>
<html ption value="value1" ><bean:message key="select.startwith" bundle="Resources"/></html ption>
<html ption value="value2" ><bean:message key="select.equalto" bundle="Resources"/></html ption>
<html ption value="value3" ><bean:message key="select.contain" bundle="Resources"/></html ption>
</html:select>

where select.one is --select one--
select.startwith is start with
select.equalto is equal to
select.contain is contain
 
Ranch Hand
Posts: 156
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is your question?
 
Liz Brown
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have a select drop down list who gets values from database with help of javabean.
My question was how to write it in jsp code and javabean?
reply
    Bookmark Topic Watch Topic
  • New Topic