jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Tomcat 4.1.29 does not compile JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Tomcat 4.1.29 does not compile JSP" Watch "Tomcat 4.1.29 does not compile JSP" New topic

Tomcat 4.1.29 does not compile JSP

jay lu

Joined: Mar 06, 2004
Posts: 1
I have a problem with my server under Red Hat 9. I'm using Apache+Tomcat+SSL. My tomcat does not compile any jsp!!!
Can somebody help me?
This is my simple jsp: ***************************************************
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Hello World JSP</title>
<h1><% out.println(" Hello World JSP!"); %></h1>
My web.xml: ************************************************************
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
I believe you have to use the <jsp-file> sub-element of the servlet tag to reference your JSP.

So much trouble in the world -- Bob Marley
I agree. Here's the link: http://aspose.com/file-tools
subject: Tomcat 4.1.29 does not compile JSP
It's not a secret anymore!