Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 80904 invoked from network); 14 Feb 2007 21:48:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 21:48:40 -0000 Received: (qmail 51972 invoked by uid 500); 14 Feb 2007 21:48:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 51952 invoked by uid 500); 14 Feb 2007 21:48:31 -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 51941 invoked by uid 99); 14 Feb 2007 21:48:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 13:48:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jim.jreynold@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 13:48:21 -0800 Received: by ug-out-1314.google.com with SMTP id h2so321699ugf for ; Wed, 14 Feb 2007 13:47:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hJI5pVlawVOfRwZk3rZeGBc3XCODde3YwYnAXo+gsV672x28r0wlba8fESKLWAzM5pcZYuBOTg299DLONVYvqKVNOdhU0fbDm0jtxBHPzmtJgKhgrq0m0otFX7m+uEggfbmbG2fnq3YAxVyDwvgeTfX2aCrRilWG+7H8VUQwqug= Received: by 10.78.192.20 with SMTP id p20mr324262huf.1171489679337; Wed, 14 Feb 2007 13:47:59 -0800 (PST) Received: by 10.78.106.5 with HTTP; Wed, 14 Feb 2007 13:47:59 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2007 15:47:59 -0600 From: "Jim Reynolds" To: "Tomcat Users List" Subject: Re: Tomcat 5.5 Xml + Xslt Question In-Reply-To: <45D37EE2.3060203@alienforceit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45D37EE2.3060203@alienforceit.com> X-Virus-Checked: Checked by ClamAV on apache.org Problem resolved: Thank you for the reply. I was setting my @page content to text/xml on line1, then the wrote: > 1. In your jsp make sure that '' > is on the very first line, it should be befora any imports or taglibs or > etc. > > This is just one of the problems you might have with xml in jsps. > > Andrew > > Jim Reynolds wrote: > > > Hello, > > I am struggling with content types within a JSP page. I have an XML, > > XSLT and CSS file that combined are suposed to create a tree. (I am > > trying to get treeview to work). > > > > I created a webapp for playing in, and have the following code in a > > jsp page called "showTree.jsp". > > > > But when I hit the page, it shows nothing and has text/html as the > > content-type, Then I tried text/xml with the same results. > > > > I have never used xml and xslt in a browser and was hoping someone may > > give me some advise? > > > > Thanks, > > > > > > > > [jsp] > > > > > > > > > > > > > > > > > > > > > img="question.gif"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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 > > > > > > > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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