You read everything but Tomcat documentation?
Bean class files need to go in the 'web-inf/classes' directory for your
context ('examples'), so yours should be in:
c:\jakarta-tomcat-3.3.1\webapps\examples\web-inf\classes\beans
Greg
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:JSP-INTEREST@;JAVA.SUN.COM]On Behalf Of Paul Toyn
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