Bonjour à tous,
Je développe actuellement une application de lecture de carte à puce via une interface web.
Cette application est donc sous forme d'applet java.
Je dispose de jsp et dans l'une d'entre elle j'y ai mis (comme j'ai pu le voir) ceci :
Code :
- <jsp:plugin type="applet" codebase="be.bhc.citiesonline.applet" code="Main.class" align="left">
- <jsp:params>
- <jsp:param name="documentId" value="1" />
- </jsp:params>
- <jsp:fallback>
- <p>Java Virtual Machine needed to load applet...</p>
- </jsp:fallback>
- </jsp:plugin>
|
Seulement lors du chargement de l'applet voilà les erreurs :
Code :
- sun.plugin.cache.DownloadException
- at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
- at sun.plugin.cache.FileCache.get(Unknown Source)
- at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
- at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
- at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
- at java.net.HttpURLConnection.getResponseCode(Unknown Source)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
- at sun.applet.AppletClassLoader.getBytes(Unknown Source)
- at sun.applet.AppletClassLoader.access$100(Unknown Source)
- at sun.applet.AppletClassLoader$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at sun.applet.AppletClassLoader.findClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.applet.AppletClassLoader.loadClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.applet.AppletClassLoader.loadCode(Unknown Source)
- at sun.applet.AppletPanel.createApplet(Unknown Source)
- at sun.plugin.AppletViewer.createApplet(Unknown Source)
- at sun.applet.AppletPanel.runLoader(Unknown Source)
- at sun.applet.AppletPanel.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- sun.plugin.cache.DownloadException
- at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
- at sun.plugin.cache.FileCache.get(Unknown Source)
- at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
- at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
- at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
- at java.net.HttpURLConnection.getResponseCode(Unknown Source)
- at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
- at sun.applet.AppletClassLoader.getBytes(Unknown Source)
- at sun.applet.AppletClassLoader.access$100(Unknown Source)
- at sun.applet.AppletClassLoader$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at sun.applet.AppletClassLoader.findClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.applet.AppletClassLoader.loadClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.applet.AppletClassLoader.loadCode(Unknown Source)
- at sun.applet.AppletPanel.createApplet(Unknown Source)
- at sun.plugin.AppletViewer.createApplet(Unknown Source)
- at sun.applet.AppletPanel.runLoader(Unknown Source)
- at sun.applet.AppletPanel.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- charger : classe Main.class introuvable.
- java.lang.ClassNotFoundException: Main.class
- at sun.applet.AppletClassLoader.findClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.applet.AppletClassLoader.loadClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at sun.applet.AppletClassLoader.loadCode(Unknown Source)
- at sun.applet.AppletPanel.createApplet(Unknown Source)
- at sun.plugin.AppletViewer.createApplet(Unknown Source)
- at sun.applet.AppletPanel.runLoader(Unknown Source)
- at sun.applet.AppletPanel.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- Caused by: java.io.IOException: open HTTP connection failed.
- at sun.applet.AppletClassLoader.getBytes(Unknown Source)
- at sun.applet.AppletClassLoader.access$100(Unknown Source)
- at sun.applet.AppletClassLoader$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- ... 10 more
|
Je précise que cette page est protégée par un certificat SSL si cela peut influencer...
Entre autre voici la structure des dossiers sur le serveur SilverStream :
WEB-INF/
WEB-INF/classes/be/bhc/citiesonline/Preferences
WEB-INF/lib
be/bhc/citiesonline/applet
be/bhc/citiesonline/application
be/bhc/citiesonline/utils
be/bhc/citiesonline/web
Les jsp se trouvent à la racine et les applets dans be/bhc/citiesonline/applet
Voilà si vous avez des idées et un peu de temps à m'accorder cela serait très sympa de votre part!