Return-Path:
Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org
Received: (qmail 86223 invoked from network); 21 Nov 2001 11:44:31 -0000
Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131)
by daedalus.apache.org with SMTP; 21 Nov 2001 11:44:31 -0000
Received: (qmail 26603 invoked by uid 97); 21 Nov 2001 11:43:58 -0000
Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org
Received: (qmail 26574 invoked by uid 97); 21 Nov 2001 11:43:57 -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 26563 invoked from network); 21 Nov 2001 11:43:56 -0000
Message-ID:
From: "van Hilten, Clive"
To: "'tomcat-user@jakarta.apache.org'"
Subject: cHTML through Tomcat
Date: Wed, 21 Nov 2001 11:41:11 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
charset="iso-8859-1"
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Good day all
environment: Windows 2000 Server with SP1, Tomcat 3.2, Apache 1.3.19,
JDK 1.3.0_02
background: I am doing some development work getting JSP to create
simple, dynamic cHTML code for display on iMode devices.
Full error message:
=======================================
2001-11-21 10:57:39 - Ctx( /examples ): 404 R( /examples +
/jsp/imode/i.jsp + null) JSP file not found
=======================================
problem: Tomcat reports that it cannot find 'imode/i.jsp'. However, if I
copy another JSP ('good' JSP, see below) I have written and place it on
the same path and give it the same filename, it is found and is compiled
okay (note that this working JSP creates WML code rather than cHTML).
Therefore Tomcat is loading the context properly from the server.xml
file.
I therefore conclude that my Tomcat installation is correctly configured
(it has been working fine for about 6 months), and the problem must be
with this particular JSP file. I have searched through the FAQ and
various usenet groups without success. I feel it must be a simple
problem, because this particular JSP was being compiled by Tomcat with
no problems before I decided to make a few changes related to the DTD.
I've checked my current DTD against the DTD for cHTML at w3.org and it
is correct. I have tried the backup copy I made before I made the
changes, but without success.
Here is the faulty JSP:
<%response.setContentType("text/html");%>
<%@ page contentType="text/html;charset=SHIFT-JIS" %>
<% response.setHeader("Cache-Control", "must-revalidate, no-store"); %>
Here is the 'good' JSP:
<%response.setContentType("text/vnd.wap.wml");%>
<%@ page contentType="text/vnd.wap.wml;charset=ISO-8859-1" %>
<% response.setHeader("Cache-Control", "must-revalidate, no-store"); %>
user name:
password:
sign on
Any comments would be welcome!
Thanks.
Clive
--
To unsubscribe:
For additional commands:
Troubles with the list: