Re: caching applet/jars
[EMAIL PROTECTED] wrote: Hi all, Have you used caching with the Java plug-in? I have trouble downloading my jar files in temporary/permanent caching. I have signed my jars and added to my archive tag of my applet tag. But still this does not work. I did find this java site http://java.sun.com/products/plugin/1.3/docs/appletcaching.html that talks about Object/Embed tag in html. But I am not sure how to actually change my html. i.e. I have an applet tag that looks like : HTML HEAD TITLE My project /TITLE /HEAD BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BGCOLOR=#F4 APPLET CODEBASE=classes ARCHIVE=java/a.jar,cst/b.jar CODE=java/Applet.class WIDTH=800 HEIGHT=600 MAYSCRIPT PARAM name = Cabbasevalue = PARAM name = DebugLevel value = 0 PARAM name = DebugTimeStamp value = false and so on... /Applet How do I write my Object tag within this applet tag, in the beginning or after? What should I write in the ... of the Object ... the code base like in applet tag? TIA, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You can use the object tag as a replacement for your applet tag. Thus you would no longer have the applet tag. I'm fairly sure that all of the attributes from the applet tag are also in the object tag so you could just replace 'applet' with 'object' and it should work. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: caching applet/jars
Hi, I changed my applet to object and this works, but my jars are not getting downloaded in temporary or permanent cache. Any thing I should be checking. My plugin has enable caching checked. Thanks for your time, Sudha -Original Message- From: ContestAdmin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:02 PM To: Tomcat Users List Subject: Re: caching applet/jars [EMAIL PROTECTED] wrote: Hi all, Have you used caching with the Java plug-in? I have trouble downloading my jar files in temporary/permanent caching. I have signed my jars and added to my archive tag of my applet tag. But still this does not work. I did find this java site http://java.sun.com/products/plugin/1.3/docs/appletcaching.html that talks about Object/Embed tag in html. But I am not sure how to actually change my html. i.e. I have an applet tag that looks like : HTML HEAD TITLE My project /TITLE /HEAD BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BGCOLOR=#F4 APPLET CODEBASE=classes ARCHIVE=java/a.jar,cst/b.jar CODE=java/Applet.class WIDTH=800 HEIGHT=600 MAYSCRIPT PARAM name = Cabbasevalue = PARAM name = DebugLevel value = 0 PARAM name = DebugTimeStamp value = false and so on... /Applet How do I write my Object tag within this applet tag, in the beginning or after? What should I write in the ... of the Object ... the code base like in applet tag? TIA, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You can use the object tag as a replacement for your applet tag. Thus you would no longer have the applet tag. I'm fairly sure that all of the attributes from the applet tag are also in the object tag so you could just replace 'applet' with 'object' and it should work. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] caching applet/jars
[EMAIL PROTECTED] wrote: Hi, I changed my applet to object and this works, but my jars are not getting downloaded in temporary or permanent cache. Any thing I should be checking. My plugin has enable caching checked. Thanks for your time, Sudha -Original Message- From: ContestAdmin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:02 PM To: Tomcat Users List Subject: Re: caching applet/jars [EMAIL PROTECTED] wrote: Hi all, Have you used caching with the Java plug-in? I have trouble downloading my jar files in temporary/permanent caching. I have signed my jars and added to my archive tag of my applet tag. But still this does not work. I did find this java site http://java.sun.com/products/plugin/1.3/docs/appletcaching.html that talks about Object/Embed tag in html. But I am not sure how to actually change my html. i.e. I have an applet tag that looks like : HTML HEAD TITLE My project /TITLE /HEAD BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BGCOLOR=#F4 APPLET CODEBASE=classes ARCHIVE=java/a.jar,cst/b.jar CODE=java/Applet.class WIDTH=800 HEIGHT=600 MAYSCRIPT PARAM name = Cabbasevalue = PARAM name = DebugLevel value = 0 PARAM name = DebugTimeStamp value = false and so on... /Applet How do I write my Object tag within this applet tag, in the beginning or after? What should I write in the ... of the Object ... the code base like in applet tag? TIA, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You can use the object tag as a replacement for your applet tag. Thus you would no longer have the applet tag. I'm fairly sure that all of the attributes from the applet tag are also in the object tag so you could just replace 'applet' with 'object' and it should work. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Try adding the following: PARAM name=cache_archive value=a.jar PARAM name=cache_option value=plugin If that doesn't work then it's beyond me. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: caching applet/jars
One more interesting thing, when I have the cache_option as Plugin, I see the cache in the plugin-cache-view cache files. But this does not speed up the performance. And if I put the Browser, I do not see this in Tools-Ioptions-settings-view fiels. Thanks, Sudha -Original Message- From: Ramanujan, Sudha Sent: Thursday, January 30, 2003 3:46 PM To: [EMAIL PROTECTED] Subject: RE: caching applet/jars Hi, I changed my applet to object and this works, but my jars are not getting downloaded in temporary or permanent cache. Any thing I should be checking. My plugin has enable caching checked. Thanks for your time, Sudha -Original Message- From: ContestAdmin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 3:02 PM To: Tomcat Users List Subject: Re: caching applet/jars [EMAIL PROTECTED] wrote: Hi all, Have you used caching with the Java plug-in? I have trouble downloading my jar files in temporary/permanent caching. I have signed my jars and added to my archive tag of my applet tag. But still this does not work. I did find this java site http://java.sun.com/products/plugin/1.3/docs/appletcaching.html that talks about Object/Embed tag in html. But I am not sure how to actually change my html. i.e. I have an applet tag that looks like : HTML HEAD TITLE My project /TITLE /HEAD BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BGCOLOR=#F4 APPLET CODEBASE=classes ARCHIVE=java/a.jar,cst/b.jar CODE=java/Applet.class WIDTH=800 HEIGHT=600 MAYSCRIPT PARAM name = Cabbasevalue = PARAM name = DebugLevel value = 0 PARAM name = DebugTimeStamp value = false and so on... /Applet How do I write my Object tag within this applet tag, in the beginning or after? What should I write in the ... of the Object ... the code base like in applet tag? TIA, Sudha Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED] (312) 577 6179 (312) 577 6101 - Fax - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You can use the object tag as a replacement for your applet tag. Thus you would no longer have the applet tag. I'm fairly sure that all of the attributes from the applet tag are also in the object tag so you could just replace 'applet' with 'object' and it should work. -CA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
applet jars
Hello list, I have been trying to embed a simple applet in a web page and keep getting a ClassNotFoundException. However, I have placed the jars in my webservers CLASSPATH and I am able to launch (non-applet) applications contained in the JAR succesfully form the server. I am wondering if I need to do some sort of special configuration for applets in TomCat? I have tried placing the JARS in my web ap. lib directory, the root directory, in the tomcat lib--everything! Am I missing something? Regards to all, Aaron -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: applet jars
Since it's an applet, it needs to be in the applet JAR in the browser. The Applet runs in the user's browser, not in tomcat. Nick On Monday, July 15, 2002, at 12:32 PM, Rutledge, Aaron wrote: Hello list, I have been trying to embed a simple applet in a web page and keep getting a ClassNotFoundException. However, I have placed the jars in my webservers CLASSPATH and I am able to launch (non-applet) applications contained in the JAR succesfully form the server. I am wondering if I need to do some sort of special configuration for applets in TomCat? I have tried placing the JARS in my web ap. lib directory, the root directory, in the tomcat lib--everything! Am I missing something? Regards to all, Aaron -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: applet jars
Howdy, Applet jars need to be accessible to the browser. Therefore, they cannot be under /mywebapp/WEB-INF. Put them under /mywebapp/applets, for example /mywebapp/applets/myApplet.jar. Then your web page would have something like applet code=com.myclass archive=/applets/myApplet.jar Yoav Shapira Millennium ChemInformatics -Original Message- From: Rutledge, Aaron [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:33 PM To: Tomcat Users List (E-mail) Subject: applet jars Hello list, I have been trying to embed a simple applet in a web page and keep getting a ClassNotFoundException. However, I have placed the jars in my webservers CLASSPATH and I am able to launch (non-applet) applications contained in the JAR succesfully form the server. I am wondering if I need to do some sort of special configuration for applets in TomCat? I have tried placing the JARS in my web ap. lib directory, the root directory, in the tomcat lib--everything! Am I missing something? Regards to all, Aaron -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: applet jars
The user's browser is requesting the applet classes from TomCat, right? I understand that the applet doesn't run on the server, but somehow TomCat needs to know what classes to send and that is what I am confused on. How can I refer to my JARs in my web page, and where do I place them on the server? I assumed they would just be placed in the root directory along with the page and a simple call like... applet width=400 height=400 code=com.blah.go.MYApplet archive=com.blah.go.jar alt=My Applet /applet It appears that Tomcat doesn't know where the jar is. _ Aaron Rutledge Electronic Business Specialist Eppendorf - 5 Prime, Inc. 6135 Gunbarrel Ave., Ste 230 Boulder, CO 80301 Tel: 303-583-7019 -Original Message- From: Nick Wesselman [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 11:40 AM To: Tomcat Users List Subject: Re: applet jars Since it's an applet, it needs to be in the applet JAR in the browser. The Applet runs in the user's browser, not in tomcat. Nick On Monday, July 15, 2002, at 12:32 PM, Rutledge, Aaron wrote: Hello list, I have been trying to embed a simple applet in a web page and keep getting a ClassNotFoundException. However, I have placed the jars in my webservers CLASSPATH and I am able to launch (non-applet) applications contained in the JAR succesfully form the server. I am wondering if I need to do some sort of special configuration for applets in TomCat? I have tried placing the JARS in my web ap. lib directory, the root directory, in the tomcat lib--everything! Am I missing something? Regards to all, Aaron -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: applet jars
On Mon, 15 Jul 2002, Rutledge, Aaron wrote: Date: Mon, 15 Jul 2002 11:53:19 -0600 From: Rutledge, Aaron [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: applet jars The user's browser is requesting the applet classes from TomCat, right? I understand that the applet doesn't run on the server, but somehow TomCat needs to know what classes to send and that is what I am confused on. How can I refer to my JARs in my web page, and where do I place them on the server? I assumed they would just be placed in the root directory along with the page and a simple call like... applet width=400 height=400 code=com.blah.go.MYApplet archive=com.blah.go.jar alt=My Applet /applet It appears that Tomcat doesn't know where the jar is. From Tomcat's point of view, the browser is going to do a download of the path you specify, exactly like it does for an image. Therefore, you'd need to put file com.blah.go.jar in the same directory as the page containing the above applet tag for Tomcat to find it. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: applet jars
Thanks! -A. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 11:44 AM To: Tomcat Users List Subject: RE: applet jars Howdy, Applet jars need to be accessible to the browser. Therefore, they cannot be under /mywebapp/WEB-INF. Put them under /mywebapp/applets, for example /mywebapp/applets/myApplet.jar. Then your web page would have something like applet code=com.myclass archive=/applets/myApplet.jar Yoav Shapira Millennium ChemInformatics -Original Message- From: Rutledge, Aaron [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:33 PM To: Tomcat Users List (E-mail) Subject: applet jars Hello list, I have been trying to embed a simple applet in a web page and keep getting a ClassNotFoundException. However, I have placed the jars in my webservers CLASSPATH and I am able to launch (non-applet) applications contained in the JAR succesfully form the server. I am wondering if I need to do some sort of special configuration for applets in TomCat? I have tried placing the JARS in my web ap. lib directory, the root directory, in the tomcat lib--everything! Am I missing something? Regards to all, Aaron -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]