Hello
I have a problem running an applet that visualises a document from Tamino.
<xapp:setvar name=“FILE”><xapp:directcommand type=“filesave” document=“textDocument”/></xapp:setvar>
<% SessionContext sessionContext = ServletSessionContext.getSessionContext(pageContext); %>
<% String jspVar = new String(sessionContext.getVariablesHandler().getVariable(“FILE”));%>
Unable to start plugin.
This is the error i get in the java console
load: class svgViz not found.
java.lang.ClassNotFoundException: svgViz
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1848)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:265)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
… 9 more
the jar file is in WEB-INF/classes/
there is no difference if i set the codebase attribute pointing to the directory containing the jar.
btw. is there a way to to give as a parameter document?
Best krassy