Hi All,
I have web application that has jsp contains jsp:plugin tag from applet type to invoke my applet code in jar file as the following :
<jsp:plugin type="applet" code="ScanActionUsingApplet.class" archive="CustomizedScanning.jar" width = "200" height = "200">
<jsp:fallback>
<p>Unable to load applet</p>
</jsp:fallback>
</jsp:plugin>
I need to pass parameters from ScanActionUsingApplet.class that's in CustomizedScanning.jar to my jsp; I have used the following code to pass parameters and make connection to my jsp, but it doesnt work (no make sense):
URL url = new URL(documentBase, "index.jsp?filePath=testParam");
status.setText("doc : " + documentBase.toString());
URLConnection connection = url.openConnection();
connection.setUseCaches(false);
connection.setDefaultUseCaches(false);
connection.connect();
please, can anyone help me in this problem?
Thanks all