Hi ,
     I am unable to get what's wrong with this code snippet
     My aim is to limit the repeating   of the loop for the NumOfDistricts
time.
     But it is giving the following error:

     Error getting compiled page.
     19,39: Attribute <%out.println( has no value.

     <p>DISTRICT
     <% int num = dataBean.getNumOfDistricts(); %>
     <% out.println("No of Districts "+ num ); %>
     <SELECT>
     <REPEAT index=myindex  <% out.println(" end = "+num); %> >
     <INSERT>
     <OPTION>$(bean=dataBean property=vctDistrict(myindex))
     </INSERT>
     </REPEAT>
     </SELECT>
     </p>


     If I keep "end = 40 or some constant " then It works properly giving
the correct  no. of districts.
     Can anyone see what's going wrong over here ?

     Thanks,
     Mahesh.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to