You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stéphane BAUDET <sb...@gltrade.fr> on 2001/04/10 10:00:39 UTC

problem

> 
> Hi,
> 
> I've got a probem with the use of <jsp:plugin> tag within Tomcat.
> I want to load an applet test, which is in the package com.app.applet.
> My Tomcat context is named glextra.
> Here is the code of my JSP:
> 
> <jsp:plugin type="applet" code="test.class" >
> </jsp:plugin>
> 
> I've got a classNotFound exception
> 
> load: class test.class not found.
> 
> java.lang.ClassNotFoundException: java.io.FileNotFoundException:
> http://localhost/glextra/servlet/com/app/applet/test.class
> 
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
> Source)
> 
>         at
> sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown
> Source)
> 
>         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
> Source)
> 
>         at
> sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(Unknown
> Source)
> 
>         at
> sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown
> Source)
> 
>         at java.net.HttpURLConnection.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 sun.plugin.security.PluginClassLoader.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)
> 
> What is the problem ??
> 
> --
> Cordialement,
> 
> Stéphane BAUDET
> 
> _________________________________________________________
> GL Trade
> 48, rue Notre Dame des Victoires - 75002 Paris
> Tel : 01 53 40 43 12 (interne 1312)
> Fax : 01 53 40 01 40
> Email : sbaudet@gltrade.fr
> _________________________________________________________