hi this is some part of my code where actually the error is getting occured
<%Vector vCurrency = null;
ReviewOrderValueBean OrderCurrBean = null;
vCurrency = (Vector)request.getAttribute("vFetchCurrency");
try{
if(vCurrency != null){
if(!vCurrency.isEmpty()){
for(Enumeration enumvCurrency = vCurrency.elements();enumvCurrency.hasMoreElements()
{
OrderCurrBean = (ReviewOrderValueBean)enumvCurrency.nextElement();
strCurrCode = null;
strCurrCode = OrderCurrBean.getCurrCode();
if(strCurrCode != null)
{%>
<script language="Javascript">
ArrCurrency[intCurrCou] ='<%=strCurrCode%>';
intCurrCou++;
</script>
<%}
}
}
}
}catch(Exception e){
CLogger.log(" HO0202", "Enumaration", e,
" An exception occurred while fetching the Currency Details",CLogger.ERROR);
}%>
//****************************//
In the load of the form the loop is getting skipped of with lodding some data into array
///this is the code which is getting displayed in the form (this is part of the code only)
----
-----
---
<script language="Javascript">
ArrCurrency[Number(intCurrCou)] ='BRL';
//intCurrCou++;
intCurrCou = Number(intCurrCou)+1;
</script>
<script language="Javascript">
ArrCurrency[Number(intCurrCou)] ='BSD';
//intCurrCou++;
intCurrCou = Number(intCurrCou)+1;
</script>
<script
----
-----
---
actually there are 183 records in the vector but in the loop it not loading all the 183 records into array.
i am getting this only in few instances only
thanks in advance
bk