Hi Guys,

 

I have a JSP Page with two select boxes. When I write the Usual HTML
code for the two DropDown, everything seems to be in place. But as soon
as I replace <select> and <option> with <html:select> and <html:option>
tags, I cannot see any dropdown kinda thing and also, the options come
as normal labels in the same line.I have imported the requited .tld
files also.Below mentioned is my Code

------------------------------------------------------------------------
---------------------------------------------------

<table cellpadding="3" cellspacing="1" border="0">

<tr><td width="200"><strong>Select date:</strong></td>

<td>

<html:select property="Date">

   <html:option value="">04/30/2004</html:option>

   <html:option value="">03/31/2004</html:option>

   <html:option value="">02/28/2004</html:option>

</html:select>

</td></tr>

 

<tr><td><strong>Select Report Type:</strong></td>

<td >

<html:select property="reportType">

   <html:option value="">SINGLE</html:option>

   <html:option value="">MULTIPLE</html:option>

</html:select>

</td></tr>

</table>

------------------------------------------------------------------------
---------------------------------------------------

Any Idea as to what could be the Reason ??  

 

TIA,

Priya.

Reply via email to