Try storing your bean class into the classes folder of the application
-webapps
-examples <-- here begins your application
-WEB-INF
-classes <-- store your classes here
-beans
bean1.class
For more information go to:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
Regards,
Kike
-----Original Message-----
From: Paul Toyn [mailto:PTOYN@;UTAH.GOV]
Sent: Friday, October 11, 2002 4:50 PM
To: [EMAIL PROTECTED]
Subject: Bean not found
Hi,
After two days of trying to get my classpath to point to a simple bean
that I have created, I am finally calling uncle and seeking advice.
I have tried every suggestion ever made and posted on the internet
about how to set the classpath. What am I doing wrong?
Do I need a class path if the bean is in the same folder as the jsp
code?
Partial code of jsp:
<html>
<body>
<!- Find and instantiate the bean, and refer to it as myBean -->
<jsp:useBean id="myBean" scope="page" class="beans.bean1"/>...
Partial code of bean:
package beans;
import java.io.Serializable ;
public class bean1 implements Serializable
Folder where the jsp code and bean reside:
c:\jakarta-tomcat-3.3.1\webapps\examples\jsp\beans
Please let me know... thx
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com