something wrong with classpath...
or compile the class
or if this class is in package...write as follows..
<jsp:useBean id="employee" class="<your package name>.Employee"
scope="request"/>

Nishit

-----Original Message-----
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 12:46 PM
To: [EMAIL PROTECTED]
Subject: Class Employee not found in import ???


Insertaction.jsp :
<%@ page import="Employee" %>
<jsp:useBean id="employee" class="Employee" scope="request"/>
..........

And Employee.class is in :
tomcat\webapps\ultra2\WEB-INF\classes

A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for
JSP..\work\localhost\ultra2\_0002fInsertaction_0002ejspInsertaction_jsp_0.ja
va:1:
Class Employee not found in import.
import Employee;
       ^
1 error

Please help.
Thanks

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to