Anand,
Try using:
html:select property='%= new String("paymentMode") %'
notice ' instead of "
-Nimmi
-Original Message-
From: Anand Raman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 10:09 AM
To: struts
Subject: significance of property attribute in select tag
hi guys
Working from the example you gave, the html:select tag would use the
string obtained by calling yourFormBean.getPaymentMode() to determine which
of the options is initially selected when the page is displayed. It uses
yourFormBean because that is the default bean when no "name=" attribute is
2 matches
Mail list logo