Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 57087 invoked from network); 12 Sep 2003 14:37:12 -0000 Received: from unknown (HELO sid.armstrong.com) (204.74.20.252) by daedalus.apache.org with SMTP; 12 Sep 2003 14:37:12 -0000 Received: from joedog.org (fnord.armstrong.com [204.74.20.11]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id h8CEScM0005230 for ; Fri, 12 Sep 2003 09:28:39 -0500 Message-ID: <3F61DA12.4030507@joedog.org> Date: Fri, 12 Sep 2003 10:37:06 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Embedding JSP code in a JS file References: <00f901c37938$8d50ad30$0400a8c0@AnsonDesktop> In-Reply-To: <00f901c37938$8d50ad30$0400a8c0@AnsonDesktop> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Rename the js file to jsp then update your link to pull in the jsp file accordingly. (You may have to do a mime-type set too) -Tim Anson Zeall wrote: > HI, > > I want to know if anyone knows how to embed JSP code in JS files? 'cause > I want to use encodeURL inside the JS file....somehow. > > Regards,