--0-489513441-1019295457=:74457
Content-Type: text/plain; charset=us-ascii
I suggest you to install Tomcat version 3.1 instead of the new version.
As long as you use defferent port number for Apache Web Server(port:80) and Tomcat v4.x(port:8080), they won't couse problem.
Ho Sing Man <smho@h...> wrote: the jsp itself is very simple. here it is:
useBean action test result
Hello, .
Your favorite language is property="language"/>.
My comments on your language:
property="languageComments"/>
BTW, I have also installed Apache HTTP server 1.3.24 on the same machine.
Could it possibly be the cause?
Thanks for your attention.
> why does the machine think your class is a member of the org.apache.jsp
package. Can we see the first line of your jsp where you import the
relevant
classes?
chanoch
-----Original Message-----
From: smho@h... [mailto:smho@h...]
Sent: 13 April 2002 12:49
To: Java 2 Enterprise Edition
Subject: [j2ee] does not compile
I'm working on the Chapter 11 JSPExamples of "Professional Java Server
Programming J2EE Edition". However, the following error prompts up when I
run beans.jsp:
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
---------------------------------------------------------------------------
-----
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server
Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.
An error occurred at line: 1 in the jsp file: /beans.jsp
Generated servlet error:
C:\Program Files\jakarta-tomcat-4.0.3
\work\localhost\JSPExamples\beans$jsp.java:56: Class
org.apache.jsp.LanguageBean not found.
LanguageBean languageBean = null;
^
---------------------------------
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more