lalyahyan 0 Newbie Poster

good day

could anyone solve this error ??? it occurs in the below code

for (int i = supportedLocales.length-1; i >= 0; i--)
{
%>
<a class ="langChangeOn"
onclick="javascript:document.repost.locale.value='<%=supportedLocales.toString()%>';<%= session.setAttribute("userId",supportedLocales.toString())%> ; document.repost.submit();">
<%= supportedLocales.getDisplayLanguage(supportedLocales)%>
</a> &nbsp;
<%
}
}
%>

any support is highly appreciated