My code is like that :
<jsp:useBean id="vConf" type="cat.eur.t b.eleccard.data types.Config[]"
scope="session" />
<jsp:useBean id="equNo" type="java.lang .Integer" scope="session" />
<script language="javas cript">
function submit_form()
{
var equ = vConf[equNo].getEqu();
(...)
}
The problem is that both vConf and equNo are not known. I tried with
<%=...%>
and it is still inaccessible.
It is correct ? can I do it ? Where I am wrong ?
<jsp:useBean id="vConf" type="cat.eur.t b.eleccard.data types.Config[]"
scope="session" />
<jsp:useBean id="equNo" type="java.lang .Integer" scope="session" />
<script language="javas cript">
function submit_form()
{
var equ = vConf[equNo].getEqu();
(...)
}
The problem is that both vConf and equNo are not known. I tried with
<%=...%>
and it is still inaccessible.
It is correct ? can I do it ? Where I am wrong ?
Comment