Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Struts and the fly likes select drop down question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "select drop down question" Watch "select drop down question" New topic

select drop down question

Liz Brown
Ranch Hand

Joined: Oct 22, 2002
Posts: 112
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="" 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>

where is --select one--
select.startwith is start with
select.equalto is equal to
select.contain is contain
santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

what is your question?

santhosh<br />SCJP,SCWCD
Liz Brown
Ranch Hand

Joined: Oct 22, 2002
Posts: 112
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?
subject: select drop down question