A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to use select tag using struts
Joined: May 24, 2005
May 24, 2005 13:02:00
plz guide me how to use ths select tag .
for every options in select tag should i write the bean in actionform.
plz guide me for ths code
<select name="product_id" size="1">
for this html code .
Joined: Feb 15, 2005
May 24, 2005 13:17:00
The best way to do it is to put all the options in a List or Set and then give the
a reference to it using session.setAttribute().
You would then use the html:select and html
ptions tags to build the select control.
See the following link for more information on how to use these tags:
[ May 24, 2005: Message edited by: Merrill Higginson ]
I agree. Here's the link:
subject: how to use select tag using struts
Any Suggestion about a small project?
problem with calling jsp page on evenet onSelect/onClick
Struts and JSP
Populating each row of a Column with combo boxes containing values from database
declaring body-content as scriptless
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015