Hi There,

If u have many values comming from database (like
countries,cities etc) then its better to use
html:options tag and if u have some static values
(like yes/no,true/false) then u should use html:option
tag.

Hope it will answer u question.

Regards,


--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
wrote:

> > i am new to struts, i would like to know to use
> <html:select> 
> > to dynamically populate data in the combo box, for
> the database.
> 
> 
> The <html:select...> tag generates the <select...>
> and </select> tags
> surrounding a select group. To generate the
> <option...> tags within it, use
> the <html:option..>, <html:options...> or
> <html:optionsCollection...> tag.
> Documentation is at
> http://struts.apache.org/userGuide/struts-html.html
> 
> 
> 
> -- 
> Tim Slattery 
> [EMAIL PROTECTED] rvind.com
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


=====
<DIV>
<P align=left><FONT face="Times New Roman">Buland Altaf Malik,<BR><STRONG>Sr. Software 
Engineer</STRONG>, <BR>Softech System's(pvt)Ltd. <BR>10/25 asad jan road lahore,cantt 
- 54810 Pakistan<BR>Tel: 92-42-6665812 , 92-42-6660802</FONT></P>
<P align=left><FONT face="Times New Roman">Mob: 0333-4344113<BR>Fax: 
92-42-6665792</FONT></P>
<P align=left><FONT face="Times New Roman"><A 
href="http://www.softech.com.pk/";>http://www.softech.com.pk</A><BR><A 
href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></FONT></P></DIV>

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to