File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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?
I agree. Here's the link:
subject: select drop down question
jQuery in Action, 3rd edition