Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 859E9744F for ; Sat, 5 Nov 2011 23:55:20 +0000 (UTC) Received: (qmail 37783 invoked by uid 500); 5 Nov 2011 23:55:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37671 invoked by uid 500); 5 Nov 2011 23:55:16 -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 37469 invoked by uid 99); 5 Nov 2011 23:55:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 23:55:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2011 23:55:09 +0000 Received: by vcbf13 with SMTP id f13so3375546vcb.18 for ; Sat, 05 Nov 2011 16:54:48 -0700 (PDT) Received: by 10.220.187.197 with SMTP id cx5mr1319470vcb.244.1320537287937; Sat, 05 Nov 2011 16:54:47 -0700 (PDT) Received: from [192.168.1.100] (c-69-141-32-207.hsd1.nj.comcast.net. [69.141.32.207]) by mx.google.com with ESMTPS id c20sm21586781vdt.6.2011.11.05.16.54.44 (version=SSLv3 cipher=OTHER); Sat, 05 Nov 2011 16:54:46 -0700 (PDT) Message-ID: <4EB5CCBC.5030706@poonam.org> Date: Sun, 06 Nov 2011 05:24:36 +0530 From: Kiran Badi Organization: www.poonam.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: o Tomcat alter the page encoding for JSP file created via Netbeans 7.01 References: <76A7159F4F167A4680050E6A2B1DB0C10989907B@SG1RD3XVS451.red003.local> <3451529724817954742@unknownmsgid> <76A7159F4F167A4680050E6A2B1DB0C109899134@SG1RD3XVS451.red003.local> <4EA91BB0.9060707@kippdata.de> <76A7159F4F167A4680050E6A2B1DB0C109899173@SG1RD3XVS451.red003.local> <4EA97B09.5040407@christopherschultz.net> <4EAA9B1B.2040605@ice-sa.com> <76A7159F4F167A4680050E6A2B1DB0C109899355@SG1RD3XVS451.red003.local> <4EB57925.8060103@poonam.org> <4F69ADE7A4FB4D7288A7A74D53B5FFE2@Conservatory> In-Reply-To: <4F69ADE7A4FB4D7288A7A74D53B5FFE2@Conservatory> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Ron,yes I do have some plugins installed,one thats called as developers tool(in IE9) and in Chrome.I think I know whats was wrong here. Problem i think was that when I run the application via NB, it launches the IE browser in quirks mode rather than Standard mode.Now I am not getting why only home page is launched in Quirks mode and rest all 11 pages in Standard mode though all has same doc type declared. On 11/6/2011 2:22 AM, Ron McNulty wrote: > Hi Kiran > > There is nothing wrong with your JSP. I dropped it into Tomcat 7.0.16 > as /webapps/ROOT/test.jsp and it showed up correctly as > http://localhost:8080/test.jsp. > > It sounds like the browser is not seeing the CSS. If you don't already > have the following installed, I suggest you try: > > Firefox - latest version > HTML validator plugin > Web tools plugin > Firebug plugin > > (I'm sure others will add to this list). HTML validator will tell you > if there are HTML errors (There are none). Firebug will tell you what > styles are affecting an element, and allow you to switch them on and > off. Web tools has many useful functions. > > I can't comment on NetBeans. I have always been an Eclipse user. I > nearly always run Tomcat from inside Eclipse (which allows easy > debugging of your Java code) and have never had this kind of issue. I > have tried DW, but I've never come to grips with it. > > Regards > > Ron > > ----- Original Message ----- From: "Kiran Badi" > To: "Tomcat Users List" > Sent: Sunday, November 06, 2011 6:57 AM > Subject: o Tomcat alter the page encoding for JSP file created via > Netbeans 7.01 > > >> Hi All, >> >> I working on creating my own website with JSP/Servlet/Jquery with >> Tomcat 7.0.11 which I had installed it as a package via Netbeans >> 7.0.1.I am trying to build a header JSP File and below is my code for >> it, >> <%@page contentType="text/html" pageEncoding="UTF-8"%> >> >> >> >> >> >> >> >> >> >> >> >> >> I am pretty much sure that its might not be related to Tomcat but >> just wanted to check and rule out tomcat. >> >> Problem Statement: When I run this code via netbeans, I dont see >> links as horizontal tabs and for some reasons it shows up as default >> list items.Initally I thought markup might be dependent on encoding >> used,so I created a new jsp file and one HTML file both with UTF-8 >> and could still see the same behavior.Netbeans folks say that its not >> the netbeans which is playing mischief but the browser, but with same >> browser with DW ,it runs perfectly fine on the same box which has >> both DW and NB. >> >> the same code runs perfectly fine with Dreamweaver CS5.5 and gives me >> the result what I want and on the same browser and box.Is it possible >> to integrate DW with tomcat and use JSP/Servlets with Tomcat on DW. >> >> Has anyone done this before ? I am somewhat coming back to java world >> after nearly 9 years and so. I dont mind taking some pain to achieve >> this.All I want to have is 1 IDE which can integrate Tomcat and can >> show all my JS/CSS stuff correctly. >> >> I am aware this might be offtopic but being a silent member to this >> list, I think this list can give me better suggestion than doing a >> google.So posting here. >> >> - Kiran >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org