I am currently stumped by a problem using the plugin. I've searched the web, the user forums and at least two books for any reference to this type of problem with no luck. I have a jsp page which uses the plugin (version 1.2.2_007) which is to load an applet. The applet, in its init() method, will establish a connection to a servlet using http tunneling and an ObjectOutputStream to pass a reqest object for some database information. The servlet will execute the jdbc command, format the result set into some vectors and store all of the information into a response object and send the information back to the applet which is waiting for the response using an ObjectInputStream. The problem is, that when the jsp page attempts to load the applet, the following error occurs: Java(TM) Plug-in: Version 1.2.2_007 Using JRE version 1.2.2 User home directory = C:\WINNT\Profiles\brownm Proxy Configuration: no proxy JAR cache enabled. Opening http://localhost/examples/WEB-INF/classes/EditTablesApplet.class CacheHandler file name: null Connecting http://localhost/examples/WEB-INF/classes/EditTablesApplet.class with no proxy Opening http://localhost/examples/WEB-INF/classes/EditTablesApplet.class with cookie "JSESSIONID=To1013mC2549780896926791At". Opening http://localhost/examples/WEB-INF/classes/EditTablesApplet.class CacheHandler file name: null Connecting http://localhost/examples/WEB-INF/classes/EditTablesApplet.class with no proxy Opening http://localhost/examples/WEB-INF/classes/EditTablesApplet.class with cookie "JSESSIONID=To1013mC2549780896926791At". load: class WEB-INF.classes.EditTablesApplet not found. java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://localhost/examples/WEB-INF/classes/EditTablesApplet.class at sun.net.www.protocol.http.HttpURLConnection.getInputStream(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$1(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) I'm running JDK1.3 and Tomcat 3.2.1 on an NT4.0 machine. I have administrator rights on this machine. The Tomcat directory structure looks like: Location of the jsp page: F:\jakarta-tomcat\webapps\examples\jsp\EditTables\EditTablesApplet.jsp Location of applet class file: F:\jakarta-tomcat\webapps\examples\WEB-INF\classes\EditTablesApplet.class Location of servlet class file: F:\jakarta-tomcat\webapps\examples\WEB-INF\classes\servlet\EditTablesServlet.class The code fragment from my jsp file for the plugin follows: <jsp:plugin type="applet" code="WEB-INF.classes.EditTablesApplet" codebase="/../examples" jreversion="1.3" width="500" height="500" > <jsp:fallback> Plugin tag OBJECT or EMBED not supported by browser. </jsp:fallback> </jsp:plugin> I've tried variations of the codebase directory and the code property. I've tried it with and without the .class extension in the code property. So far, I've had no luck in getting the applet to load. Has anyone run into a similar problem or have a suggestion for me? Any help would be greatly appreciated. Sorry for the length of the post, Mark =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
