Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 84708 invoked from network); 1 Oct 2009 22:11:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 22:11:28 -0000 Received: (qmail 749 invoked by uid 500); 1 Oct 2009 22:11:24 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 705 invoked by uid 500); 1 Oct 2009 22:11:24 -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 693 invoked by uid 99); 1 Oct 2009 22:11:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 22:11:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 22:11:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MtTrR-0000TG-Eq for users@tomcat.apache.org; Thu, 01 Oct 2009 15:10:53 -0700 Message-ID: <25707397.post@talk.nabble.com> Date: Thu, 1 Oct 2009 15:10:53 -0700 (PDT) From: Leonard Bedner To: users@tomcat.apache.org Subject: Issue With SSI And JSP MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gamecoder@optonline.net X-Virus-Checked: Checked by ClamAV on apache.org Hello all. First off, here are my specs: Windows XP Professional Edition Tomcat 6.x Java EE Project Eclipse So, as stated in the title, I am having some issues regarding the use of SSI and my JSP pages. Currently, I am taking my website that was done for me many years ago, and turning it from a static site into a dynamic one. The first thing I did was start using SSI for the html footers and table of contents/sidebars. Here's my web.xml: ssi org.apache.catalina.ssi.SSIServlet buffered 1 debug 0 expires 666 isVirtualWebappRelative 0 4 ssi *.html *.htm *.jsp This is working exactly as expected. I have a file named index.html that has this within it: And it works just fine. It includes the file, "toc.inc", and renders it on index.html as expected. Now, it turns out that index.html will be turned into index.jsp. After I made the changed, things still worked. However, when I tried to add some jsp code, that is where things fell apart. For reasons that I don't understand, the jsp code just isn't working. However, when I take it out of the , it works just fine. Of course, then the ssi doesn't work on those pages. Here's an example of a jsp file that I used for testing: My Title Hello... The time is now <%= new java.util.Date() %> Context root = <%= application.getContextPath() %> When jsp is taken out of . it returns the time, and the context path perfectly. When I add it back though, I just get whitespace. Any ideas? -- View this message in context: http://www.nabble.com/Issue-With-SSI-And-JSP-tp25707397p25707397.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org