hi i am using the combo box and in combo box want to display the name of the month and in the value of option want to store the month id.
can u send me some code that help me to go through with this problem thanks regards shashi ----- Original Message ----- From: "David M. Karr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 11:36 AM Subject: Re: Use of <html:options> and jstl > >>>>> "shashi" == shashi <[EMAIL PROTECTED]> writes: > > shashi> Hi > shashi> I want to skip the for loop and want to use <c:forEach> with the <html:select>. > shashi> I tried but failed to set the value to options in select. > > shashi> Please help me to solve out the problem > > Try spelling out exactly what you're trying to do, and showing what you tried, > and what happened when you tried it. > > Are you using Struts-EL? You can use either Struts or Struts-EL with the JSTL, > but some things will be easier if you use Struts-EL. You may find, however, > that building the value list for "html:select" can be done without any > iteration in the JSP page, just building the list in your Action code. > > -- > =================================================================== > David M. Karr ; Java/J2EE/XML/Unix/C++ > [EMAIL PROTECTED] ; SCJP; SCWCD > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]