Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

select drop down question  RSS feed

 
Liz Brown
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • 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
 
santhoshkumar samala
Ranch Hand
Posts: 156
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is your question?
 
Liz Brown
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!