I use the html:options tag :
Just create a Collection (here gender of the Databaseentries (f,m) and
pass as a bean to the page
with the form.
If you need more assistance have a look at :
http://www.reumann.net/do/struts/lesson3
Regards,
Thomas
On Thu, 4 Sep 2003 02:38:16 -0700 (PDT
I use the html:options tag :
Just create a Collection (here gender of the Databaseentries (f,m) and
pass as a bean to the page
with the form.
If you need more assistance have a look at :
http://www.reumann.net/do/struts/lesson3
Regards,
Thomas
On Thu, 4 Sep 2003 02:38:16 -0700 (PDT
]
Subject: populating Drop down -pls help
Hello,
I have a JSP in which there are number of dropdown along with text
boxes. I am using struts tag lib for getting the value when I submit the
form.
The problem is when I try to populate the dropdown in th JSP with the
data that i get from the databse .
For
ot; instead of "m" which is not the same value.
-Original Message-
From: Goldy J [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:38 AM
To: [EMAIL PROTECTED]
Subject: populating Drop down -pls help
Hello,
I have a JSP in which there are number of dropdown along with
Are those typos in your jsp?
===>>>mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:38 AM
To: [EMAIL PROTECTED]
Subject: populating Drop down -pls help
Hello,
I have a JSP in which there are number of dropdown along with text boxes. I
am using struts tag lib for getting
Hello,
I always use the html:options tag and it works fine; try the following:
(there is a type error in your example)
m
f
ofcourse, in the database you should have the values f or m
Jan
"Goldy J" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
> I have a JSP i
Hello,
I have a JSP in which there are number of dropdown along with text boxes. I am using
struts tag lib for getting the value when I submit the form.
The problem is when I try to populate the dropdown in th JSP with the data that i get
from the databse .
For example I have dropdown for gender
7 matches
Mail list logo