I'm trying to get Tomcat3.2.1 to successfully compile my JSP.

I have a base class called TrainingForm and I have a class called
TrainingFormDetail that extends TrainingForm. It's like it is complaining
about the base class. I read in the JSP1.1 spec that the type field is used
for <implements and extends>. Note: I was able to successfully compile all
my java classes. Here is my JSP code (which is just a test for now):

<!-- TrainingForm jsp -->

<%@ page language="java" contentType="text/html" %>
<jsp:useBean id="trainingDetail" scope="session" class="TrainingFormDetail"
type="TrainingForm"/>
<jsp:setProperty name="trainingDetail" property="*" />
<% trainingDetail.insertTrainingFormDetail(); %>

<html>
<head>
<title>Test Bean</title>
</head>

Name: <jsp:getProperty name="trainingDetail" property="name" />
Job Title: <jsp:getProperty name="trainingDetail"          
property="jobTitle" />
Date Of Employment: <jsp:getProperty name="trainingDetail"          
property="dateOfEmployment" />
Staff Mgr: <jsp:getProperty name="trainingDetail"          
property="staffMgr" />
Location: <jsp:getProperty name="trainingDetail"          
property="location" />
Region: <jsp:getProperty name="trainingDetail"           property="region"
/>

</html>

Here is the error stack track:

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\OpenSource\tomcat321\work\localhost_8080%2FTrainingPlansRepository\_0002fjsp_0002fTrainingForm_0002ejspTrainingForm_jsp_0.java:66:
Class jsp.TrainingForm not found.
TrainingForm trainingDetail = null;

<<ANY IDEAS??>>


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup

Reply via email to