Paula,
Here's how I see it. In the jsp1.0 directory, there are two startserver
files. If you look in the one that ISN'T the batch file, you will find the
following line that adds the \jsp1.0\examples\web-inf\jsp\beans directory to
the classpath:
ADDL_CLASSPATH=${BASEDIR}${SLASH}server.jar${PATHSEP}${BASEDIR}${SLASH}servlet.jar${PATHSEP}${BASEDIR}${SLASH}examples${SLASH}WEB-INF${SLASH}jsp${SLASH}beans
I guess that this is invoked when startserver.bat is ran. Anyway, this
should enable the example .jsp's to find their associated .class files. What
the examples seem to do is have the examples in thier own
directories under the beans directory and access the class files from within
packages. If you wanted to add another, lets say test.jsp invoking
TestBean.class, add a \test directory under the bean directory and put your
TestBean.class file in here. (btw, ensure that
at the top of TestBean.java you have the line "package test;" before you
compile it). Now, in your test.jsp file, the bean can be called using:
<jsp:useBean id="test" scope="application" class="test.TestBean" />
Run this .jsp and voila! (hopefully!)
I hope this works.
Regards,
Jody Brown.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".