Do you have this set-up as a taglib? If so, do you have the needed .tld file
to describe your tag library.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.President
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.com
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -----Original Message-----
:: From: Colin McKinstry [mailto:[EMAIL PROTECTED]
:: Sent: Thursday, March 11, 2004 12:24 AM
:: To: Tomcat Users List
:: Subject: RE: webapps\ROOT\WEB-INF\classes
:: 
:: Wendy wrote:
:: 
:: > Did you add/change the import directive in the JSP?
:: 
:: Yes.
:: 
:: <%@ page language="java" import="com.stevensons.*" %>
:: 
:: <jsp:useBean id="fruitItem" class="Fruit" scope="page">
::      <jsp:setProperty name="fruitItem" property="*"/>
:: 
:: Etc.,
:: 
::  Perhaps
:: > we'd better
:: > start over.
:: >
:: > You've added the package statement to Fruit.java, correct?  Then you
:: > need to compile it, and place it in
:: > WEB-INF/classes/com/stevensons .
:: 
:: Yes, and it is that location.
:: 
:: If
:: > all that is done, please post the JSP code that Tomcat is complaining
:: > about.
:: >
:: Exception
:: 
:: org.apache.jasper.JasperException: Cannot create bean of class Fruit
::      at
::
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54)
:: 
:: (etc)
:: 
:: and
:: 
:: Root cause
:: 
:: javax.servlet.ServletException: Cannot create bean of class Fruit
::      at
org.apache.jsp.addToCatalog_jsp._jspService(addToCatalog_jsp.java:52)
:: 
:: (etc)
:: 
:: Thanks,
:: 
:: 
:: ---------------------------------------------------------------------
:: To unsubscribe, e-mail: [EMAIL PROTECTED]
:: For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to