tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From St├ęphane BAUDET <sbau...@gltrade.fr>
Subject <jsp:plugin> problem
Date Tue, 10 Apr 2001 08:00:39 GMT
> 
> 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
> _________________________________________________________

Mime
View raw message