tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "admin" <>
Subject RE: Tomcat and JSP problem
Date Mon, 02 Sep 2002 11:22:26 GMT
The problem as you no doubt know is that the jsp compile is not finding
You need to make sure that MechanicBean is in a package as otherwise the jsp
compiler will look for classes in the default package which for the jsp
compiler is org.apache.jsp.  Just add (I'll use your email address for
to the top of the file and then in the jsp file go for
Make sure that MechanicBean.class is then put in [TomcatRoot]\webapps\[your
Hope this helps

Best Wishes
John Burgess
Tel: 01865 718666
Fax: 01865 718600

PS to write to the list the mailing address is HYPERLINK
"" see my
CC to this letter

-----Original Message-----
From: Tuangporn Khawcharoenporn []
Sent: Sunday, September 01, 2002 4:39 AM
Subject: Tomcat and JSP problem


Sorry to email you directly. I saw your posted message on Tomcat-User list.
I have already subscribed to the list but I don't know how to post the
message. Would you please suggest me?

I also have one critical problem with my JSP project that I would appreciate
to have an idea from you.

I'm trying to solve this problem for my JSP project for many days.

I'm using Tomcat 4.0.3 and jdk1.3.1. Everything I set for PATH or symtem
variables are working fine with Servlet. The application I am developing is
to use JSP with JavaBeans. I use the bean class called MechanicBean and use
MechanicInfo.jsp to instantiate the bean class with this tag,

<?xml:namespace prefix = jsp />

However, after running the program, the error shown in the browser as

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

An error occured at line 9 in the jsp file: /MechanicInfo.jsp

Generated servlet error:

D:\tomcat4\work\localhost\Mechanic\MechanicInfo$ Class
org.apache.jsp.MechanicBean not found.



I was wondering what is the source of the problem. I have already defined
the compiled bean class to use. Is this the problem of Tomcat 4.0.3 or the
application itself? How to solve this problem? I would very much appreciate
your suggestion.

Thank you.



Tuangporn Khawcharoenporn (Tum)



MSN Photos is the easiest way to share and print your photos: HYPERLINK
""Click Here

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/02

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/02

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message