Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 31316 invoked from network); 9 Oct 2007 13:50:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 13:50:53 -0000 Received: (qmail 37521 invoked by uid 500); 9 Oct 2007 13:50:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37499 invoked by uid 500); 9 Oct 2007 13:50:29 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 37488 invoked by uid 99); 9 Oct 2007 13:50:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 06:50:29 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [63.240.77.85] (HELO sccrmhc15.comcast.net) (63.240.77.85) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 13:50:31 +0000 Received: from [192.168.1.101] (c-68-50-0-179.hsd1.va.comcast.net[68.50.0.179]) by comcast.net (sccrmhc15) with ESMTP id <2007100913493301500fh5sbe>; Tue, 9 Oct 2007 13:49:33 +0000 Message-ID: <470B86EA.7010206@christopherschultz.net> Date: Tue, 09 Oct 2007 09:49:30 -0400 From: Christopher Schultz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: [OT] applets in webapps References: <20071009113011.65278b83@n428> In-Reply-To: <20071009113011.65278b83@n428> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kristian, Kristian Rink wrote: > Unfortunately(?), the .jsp > is never called directly but rather forward()ed to from within a > servlet mapped to some specific URL. Are you trying to use relative URLs for your codebase? Try using a fully-qualified URL (starting with a '/') to point to the JAR file instead of a relative URL. Then, it doesn't matter where you include your applet's JSP file, since the URL will always be fully-qualified. > ////lang/de_DE.properties That's weird. Shouldn't the applet's JAR file contain these properties files? When you say "" you mean the actual context name, not '<' + "context" + '>', right? > (the file originally lives inside the applet.jar in .lang). What is .lang? > Is there any sane way of keeping applets inside a JEE web application, > regardless on whether they're invoked directly from a .jsp or from a > resource forwarded to from within some servlet? As long as you've got everything in your JAR file, you should be okay. Or, are you trying to rely on the browser plugin's ClassLoader to fetch things like properties files off the server? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHC4bq9CaO5/Lv0PARAhFJAKC9itbjJVgu9lagd0HJR2MU2NPQzgCfT7TW PjBTxucwSIbxIJVPcEB7xh0= =krGh -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org