function CarregaContatos(){
for(int i=0;i<100;i++){
if(document.CadOs.cliente.option[i].selected==true){
<%
bc.setChave(%>document.CadOs.cliente.option[i].value<%)%>
}
}
}
dah o seguinte erro:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 79 in the jsp file: /CadOs.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\Tomcat\work\Standalone\localhost\OS\CadOs_jsp.java:240: ')' expected
out.write("document.CadOs.cliente.option[i].value");
^
An error occurred at line: 79 in the jsp file: /CadOs.jsp
Generated servlet error:
C:\Tomcat\work\Standalone\localhost\OS\CadOs_jsp.java:241: illegal start of expression
)
^
2 errors
alguem sabe o que tah dando erro???