Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 78222 invoked from network); 13 Feb 2004 16:32:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Feb 2004 16:32:29 -0000 Received: (qmail 56916 invoked by uid 500); 13 Feb 2004 16:32:01 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 56788 invoked by uid 500); 13 Feb 2004 16:32:00 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 56771 invoked from network); 13 Feb 2004 16:32:00 -0000 Received: from unknown (HELO www.connecties.com) (193.195.96.175) by daedalus.apache.org with SMTP; 13 Feb 2004 16:32:00 -0000 Received: from [192.168.1.4] (cd51150e4.cable.wanadoo.nl [213.17.80.228]) by www.connecties.com (8.10.2/8.10.2) with ESMTP id i1DGOmZ12770 for ; Fri, 13 Feb 2004 17:24:48 +0100 Mime-Version: 1.0 (Apple Message framework v612) In-Reply-To: <402CF7C5.9080806@pp.inet.fi> References: <20040212183956.GA20901@strange.dreamhost.com> <402BD4FB.7070704@katzenjammer.us> <024101c3f1a7$d118c600$7a01a8c0@ptslaptop> <402CF546.5080108@katzenjammer.us> <402CF7C5.9080806@pp.inet.fi> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2509FE1F-5E42-11D8-A36D-000393CFE61E@connecties.com> Content-Transfer-Encoding: 7bit From: Werner van Mook Subject: Re: jsp deployment Date: Fri, 13 Feb 2004 17:31:58 +0100 To: "Tomcat Users List" X-Mailer: Apple Mail (2.612) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I had a similar problem with my jsp files. I included as the toplines in my jsp files : <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> These lines are created by dreamweaver I just copied them from a working jsp file to the not working jsp file. This seemed to solve my problems. I don't know why it solved it. To my knowledge every html file becomes a jsp file when you change the extension. Werner On Feb 13, 2004, at 5:13 PM, BAO RuiXian wrote: > > > Jerry Ford wrote: > >> Good suggestions, but, no, didn't work. >> There are no config issues preventing Tomcat from serving files from >> my webapp---html and servlets all work. And I know Tomcat is serving >> jsp files correctly; Tomcat's default examples work. > > Have you tried run your jsp file directly from Tomcat instead of via > Apache? How about you copy one of the jsp files from the example jsp > files to this directory to see it still works? I think your problem is > just very trivial, somewhere wrong. > > Best > > Bao > >> >> Tomcat simply will not serve my .jsp file regardless of filetype >> (tried it as .txt). Permissions and file ownership are identical to >> the permissions of the Tomcat example .jsp files, which do work. >> I restart Tomcat everytime I make a change. >> Still get the 404 when I call the jsp, even though the html files in >> the same directory work fine, as do the servlets in the same webapp >> space. >> >> Jerry >> >> Parsons Technical Services wrote: >> >>> Jerry, >>> >>> Just for a test, change the file name to end with .txt and see if >>> the page >>> is displayed. >>> >>> If it still fails. I would double check the permissions/ownership on >>> that >>> file. >>> >>> If it works, then try a restart. After a restart if it still fails, >>> check >>> your configs >>> for an entry that might be blocking or redirecting the request. >>> >>> Just a novice throwing out ideas. >>> >>> Doug Parsons >>> www.parsonstechnical.com >>> >>> >>> ----- Original Message ----- From: "Jerry Ford" >>> >>> To: "Tomcat Users List" >>> Sent: Thursday, February 12, 2004 2:33 PM >>> Subject: Re: jsp deployment >>> >>> >>> >>>> Permissions on the .jsp file are identical to permissions on all of >>>> the >>>> html, javascript, and servlet class files in the webapp, all of >>>> which >>>> work: -rw--r--r-- owner/group is jford:user (which is the uid >>>> under >>>> which tomcat was started). >>>> >>>> And I know it will serve .jsp's, the Tomcat example .jsp's all work. >>>> >>>> Jerry >>>> >>>> QM wrote: >>>> >>>> >>>>> : Tomcat chokes when the jsp is requested. I get a 404 >>>>> : error, "the requested resoruce is not available." >>>>> : >>>>> : What do I need to configure to get Tomcat to serve the jsp? >>>>> >>>>> >>>>> Chances are it's a permissions issue on the file. (Unless you've >>>>> tweaked Tomcat's config, it should already be able to serve JSPs.) >>>>> >>>>> -QM >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > Werner van Mook Java Lead Developer / Trainer Connecties Voor Internet --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org