how do i load variables into flash from JSP file into a combo listbox?

I need to retrieve the array $a into flash so how do i code?

tried using

loadVariables("chuachukang.jsp",_root, "POST");
trace(a);
but a is undefined.

please hep!

snippet JSP file
<%
ResultSet rs = statement.executeQuery(query);
while (rs.next())
{

int i =1;
int y=1;
y++;
int b =1;
String [] $a = new String [10];
ic=rs.getString("NRIC");
String name=rs.getString("NAME");
String add=rs.getString("ADDRESS");
//String pcode=rs.getString("POSTALCODE");
String religion=rs.getString("RELIGION");
while(i<y){
i++;
$a[i]=(name);
}
while (b<i)
{
b++;
System.out.println($a[b]);
}
%>
<TR>
<TD><%=ic%></TD>
<TD><%=name%></TD>
<TD><%=add%></TD>
<TD><%=religion%></TD>
</TR>

<%}%>