hi,
i want to pass values from
Jsp to
applet and to read them in applet code
here is my code
<%String empid= request.getParameter("ID");%>
<jsp:plugin type="applet"
code="applet/PrintApplet.class"
codebase="http://localhost:8080/myadmin"
jreversion="1.6.0"
archive="http://localhost:8080/myadmin/PrintApplet.jar"
name="PrintApplet"
width="520"
height="520">
<jsp:params>
<jsp:param name="empID" value="<%=empid%>">
</jsp:params>
<jsp:fallback> Your browser do not support applets! </jsp:fallback>
</jsp:plugin>
the following is the error
org.apache.jasper.JasperException: /CaptureFinger.jsp(122,36) The <jsp:param tag can only have jsp:attribute in its body.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:130)