Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 91396 invoked from network); 7 May 2002 13:37:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 May 2002 13:37:53 -0000 Received: (qmail 7473 invoked by uid 97); 7 May 2002 13:37:11 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7333 invoked by uid 97); 7 May 2002 13:37:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7244 invoked by uid 98); 7 May 2002 13:37:09 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <21A5421BCAE2D31181BE0006293935FAA515FA@altea10.alteanet.it> From: Alessio Fiore To: "'Tomcat Users List'" Subject: R: Help with hiding resources Date: Tue, 7 May 2002 15:36:51 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Kris, the jar that contains the applet and related classes *must* be accessible by the browser. If not the browser could not load it and = extract the applet (throwing the java.io.FileNotFoundException). -----Messaggio originale----- Da: Kris Kras [mailto:KKras@mectrol.com] Inviato: marted=EC 7 maggio 2002 15.09 A: tomcat-user@jakarta.apache.org Oggetto: Help with hiding resources Hello all, I have an application using jsps, servlets and applets runing under = Tomcat 4.03 and Struts 1.0 (win2k server). My application is located under "C:\Tomcat4\webapps\applications\" and = all jsp files are there. Some jsps launch applets through = tags. Applets are packaged in jars located in "C:\Tomcat4\webapps\applications\jars\". A code fragment launching = applets looks like this: tag I get and file not found exception in the plugin = console (java.io.FileNotFoundException: http://www.domainmame.com/applications/WEB-INF/lib/myapplet.jar) even = though the jar file is there. I have tried setting the following values for "archive" and "codebase" parameters in tag with the jar file in "C:\Tomcat4\webapps\applications\WEB_INF\lib\": archive =3D "myapplet.jar" codebase =3D "." archive =3D "/WEB-INF/lib/myapplet.jar" codebase =3D "." archive =3D "myapplet.jar" codebase =3D "/" archive =3D "myapplet.jar" codebase =3D "/applications/WEB-INF/lib/" None of the combinations worked. Can anyone help me with configuring = these two parameters so the Tomcat can find myapplet.jar. Or is there a better solution to hiding resources under Tomcat. Any help would be greatly appreciated. Thanks Kris -- To unsubscribe, e-mail: For additional commands, e-mail: - Disclaimer - This email and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of = the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) or the taking of any action in reliance on the contents, by persons other than = the designated recipient(s) is strictly prohibited. If you have received this email in error, please notify the sender = either by telephone or by email and delete the material from any computer. Thank you for your cooperation.=20 -- To unsubscribe, e-mail: For additional commands, e-mail: