passing jsp variable of a $ function() to a java class function as argument: how treat taglib code

109 views Asked by At

I have written an insert function with taglibs in jsp in a $ function () which uses this code for calling it in a java script:

<jsp:useBean id="obj" class="insertEdge"/>
                    ${tf:insertEdge(obj, stateid)}

I know that my code of insert methods works right, but I don't know why the var stateid while it has a value in java scrip section it doesn't have value in called method. What is wrong? how can I find the point of error?

0

There are 0 answers