Re: Serving up applets
If your client does not absolutely require an applet then you should consider re-factor as jsp/servlet (Struts/Spring/JSF come to mind) Then if you want to access some resource specific function you can accomodate the access via a grant in catalina.policy In either case you will have to eventually test on IE as this is default browser that comes with most windows installs- Anyone else? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org; 'Martin Gainty' [EMAIL PROTECTED] Sent: Thursday, November 16, 2006 4:37 PM Subject: RE: Serving up applets I'm not trying to do any extra work with Swing or such. I want to keep this as dumb as possible so I don't have to require the latest and greatest or test in every browser. This is very minimalist. I have tried playing with the codebase attribute in other testing and IE just got even more confused. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 2:21 PM To: Tomcat Users List Subject: Re: Serving up applets Not to mention security permissions one must grant thru either updates to policy files OR running your bundled code thru SecurityManager PlugIn http://java.sun.com/developer/technicalArticles/Security/applets/ Be mindful that this will have to work in every browser and every JVM your client supports so I would opt to install Sun Java Security Manager plugin http://java.sun.com/products/plugin/1.3/plugin-install.html OR RSA Security Manager plugin http://www.rsasecurity.com/blog/entry.asp?id=1003 and configure the jar to execute/read/write within the plugin environment- HTH, M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, November 16, 2006 3:17 PM Subject: Re: Serving up applets Where are you putting the applet class? It can't be in WEB-INF because that isn't available to the client. --David Robert Harper wrote: The browser is. The Java console and an error box is displayed by IE when it tries to load the applet. I see nothing in the Tomcat logs. Either for security problems or not finding the class. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:33 PM To: Tomcat Users List Subject: Re: Serving up applets Hi Robert Which class is throwing the ClassNotFoundException? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper To: Tomcat Users Sent: Thursday, November 16, 2006 12:45 PM Subject: Serving up applets This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted
Serving up applets
This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists.
Re: Serving up applets
Hi Robert Which class is throwing the ClassNotFoundException? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper To: Tomcat Users Sent: Thursday, November 16, 2006 12:45 PM Subject: Serving up applets This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists.
RE: Serving up applets
The browser is. The Java console and an error box is displayed by IE when it tries to load the applet. I see nothing in the Tomcat logs. Either for security problems or not finding the class. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:33 PM To: Tomcat Users List Subject: Re: Serving up applets Hi Robert Which class is throwing the ClassNotFoundException? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper To: Tomcat Users Sent: Thursday, November 16, 2006 12:45 PM Subject: Serving up applets This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serving up applets
Where are you putting the applet class? It can't be in WEB-INF because that isn't available to the client. --David Robert Harper wrote: The browser is. The Java console and an error box is displayed by IE when it tries to load the applet. I see nothing in the Tomcat logs. Either for security problems or not finding the class. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:33 PM To: Tomcat Users List Subject: Re: Serving up applets Hi Robert Which class is throwing the ClassNotFoundException? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper To: Tomcat Users Sent: Thursday, November 16, 2006 12:45 PM Subject: Serving up applets This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serving up applets
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Harper wrote: This has probably been covered before but I’m having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can’t it find and send the applet class? Give us the relevant code from your HTML page that shows the applet. We'll start from there. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFXMfc9CaO5/Lv0PARAijYAKCjd37G5zEuEFj0ASfG1K/TT3fHswCfeHrM 82Ap2/TYmjaPwlSVQMvtA1k= =Y7GR -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Serving up applets
Snippet of the HTML applet code=com.iat.ctimpact.CTImpactStatisticsApplet.class height=300 width=584 param name=Link value='https://127.0.0.1:8443/ctimpact/servlet/CTImpact/?User=001TESTList=C 001MAIN' param name=Timer value=5000 /applet Snippet from Java Console network: Connecting https://localhost/ctimpact/servlet/com/iat/ctimpact/CTImpactStatisticsApplet /class.class with proxy=DIRECT load: class com.iat.ctimpact.CTImpactStatisticsApplet.class not found. java.lang.ClassNotFoundException: com.iat.ctimpact.CTImpactStatisticsApplet.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 basic: Exception: java.lang.ClassNotFoundException: com.iat.ctimpact.CTImpactStatisticsApplet.class java.lang.ClassNotFoundException: com.iat.ctimpact.CTImpactStatisticsApplet.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 basic: Modality pushed I have plastered the class all over the place with the full path from the app root out. I started with it landing in the same location as the servlet code and then added it to the application root. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 1:20 PM To: Tomcat Users List Subject: Re: Serving up applets -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Harper wrote: This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Give us the relevant code from your HTML page that shows the applet. We'll start from there. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFXMfc9CaO5/Lv0PARAijYAKCjd37G5zEuEFj0ASfG1K/TT3fHswCfeHrM 82Ap2/TYmjaPwlSVQMvtA1k= =Y7GR -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serving up applets
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Harper wrote: Snippet of the HTML applet code=com.iat.ctimpact.CTImpactStatisticsApplet.class height=300 width=584 param name=Link value='https://127.0.0.1:8443/ctimpact/servlet/CTImpact/?User=001TESTList=C 001MAIN' param name=Timer value=5000 /applet You need to provide the codebase attribute for the applet tag, which tells the browser where to find your code. You can find more information here: http://java.sun.com/j2se/1.4.2/docs/guide/misc/applet.html or here: http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html Hope that helps. - -chris Snippet from Java Console network: Connecting https://localhost/ctimpact/servlet/com/iat/ctimpact/CTImpactStatisticsApplet /class.class with proxy=DIRECT load: class com.iat.ctimpact.CTImpactStatisticsApplet.class not found. java.lang.ClassNotFoundException: com.iat.ctimpact.CTImpactStatisticsApplet.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 basic: Exception: java.lang.ClassNotFoundException: com.iat.ctimpact.CTImpactStatisticsApplet.class java.lang.ClassNotFoundException: com.iat.ctimpact.CTImpactStatisticsApplet.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 basic: Modality pushed I have plastered the class all over the place with the full path from the app root out. I started with it landing in the same location as the servlet code and then added it to the application root. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 1:20 PM To: Tomcat Users List Subject: Re: Serving up applets Robert, Robert Harper wrote: This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Give us the relevant code from your HTML page that shows the applet. We'll start from there. -chris - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFXNNz9CaO5/Lv0PARAptEAJ9TqSC4+67k3IaO2ML/gQDtYOOXvgCgn4Bp z+iaCabtNsVf9h4nS1z7nbg= =IIE+ -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serving up applets
Not to mention security permissions one must grant thru either updates to policy files OR running your bundled code thru SecurityManager PlugIn http://java.sun.com/developer/technicalArticles/Security/applets/ Be mindful that this will have to work in every browser and every JVM your client supports so I would opt to install Sun Java Security Manager plugin http://java.sun.com/products/plugin/1.3/plugin-install.html OR RSA Security Manager plugin http://www.rsasecurity.com/blog/entry.asp?id=1003 and configure the jar to execute/read/write within the plugin environment- HTH, M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, November 16, 2006 3:17 PM Subject: Re: Serving up applets Where are you putting the applet class? It can't be in WEB-INF because that isn't available to the client. --David Robert Harper wrote: The browser is. The Java console and an error box is displayed by IE when it tries to load the applet. I see nothing in the Tomcat logs. Either for security problems or not finding the class. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:33 PM To: Tomcat Users List Subject: Re: Serving up applets Hi Robert Which class is throwing the ClassNotFoundException? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper To: Tomcat Users Sent: Thursday, November 16, 2006 12:45 PM Subject: Serving up applets This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Serving up applets
I'm not trying to do any extra work with Swing or such. I want to keep this as dumb as possible so I don't have to require the latest and greatest or test in every browser. This is very minimalist. I have tried playing with the codebase attribute in other testing and IE just got even more confused. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 2:21 PM To: Tomcat Users List Subject: Re: Serving up applets Not to mention security permissions one must grant thru either updates to policy files OR running your bundled code thru SecurityManager PlugIn http://java.sun.com/developer/technicalArticles/Security/applets/ Be mindful that this will have to work in every browser and every JVM your client supports so I would opt to install Sun Java Security Manager plugin http://java.sun.com/products/plugin/1.3/plugin-install.html OR RSA Security Manager plugin http://www.rsasecurity.com/blog/entry.asp?id=1003 and configure the jar to execute/read/write within the plugin environment- HTH, M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, November 16, 2006 3:17 PM Subject: Re: Serving up applets Where are you putting the applet class? It can't be in WEB-INF because that isn't available to the client. --David Robert Harper wrote: The browser is. The Java console and an error box is displayed by IE when it tries to load the applet. I see nothing in the Tomcat logs. Either for security problems or not finding the class. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:33 PM To: Tomcat Users List Subject: Re: Serving up applets Hi Robert Which class is throwing the ClassNotFoundException? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Robert Harper To: Tomcat Users Sent: Thursday, November 16, 2006 12:45 PM Subject: Serving up applets This has probably been covered before but I'm having a hard time getting an applet on a servlet generated page to load. I keep getting a ClassNotFound exception even though the class is in several possible areas for it to load. It is a package that is like com.company.service.MyApplet.class. If Tomcat can provide the images, why can't it find and send the applet class? Robert S. Harper Senior Engineer Information Access Technology, Inc. 1100 East 6600 South, Suite 300 Salt Lake City Utah USA 84121-7411 (801)265-8800 Ext. 255 FAX (801)265-8880 This e-mail is intended only for the addressee and may contain confidential and/or privileged information. Any review, retransmission, or action taken upon this information by persons other than the intended recipient is prohibited by law. If you received this communication in error, please contact us immediately at 801-265-8800. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that anything received or opened is virus free. No responsibility is accepted by IAT for any loss or damage in the event that such a virus or defect exists. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Serving up applets
It looks like the codebase attribute helped. Now I'll see what I can do from there. Thanks. Just don't let preliminary testing dictate what you don't try later I guess. Robert S. Harper Information Access Technology, Inc. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]