B
Brice Laurencin
My code is like that :
<jsp:useBean id="vConf" type="cat.eur.tb.eleccard.datatypes.Config[]"
scope="session" />
<jsp:useBean id="equNo" type="java.lang.Integer" scope="session" />
<script language="javascript">
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.tb.eleccard.datatypes.Config[]"
scope="session" />
<jsp:useBean id="equNo" type="java.lang.Integer" scope="session" />
<script language="javascript">
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 ?