hi!
i m totally new to jsp so i m not too sure but i guess u have put ur bean in
'bgate' package and all the classes belonging to a package have to be put in
a directory <packagename> !
:-)
Have a great Day!
-Ginni
-----Original Message-----
From: Phil Hedley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, October 23, 2000 2:20 PM
Subject: Where do I store beans when using jswdk
>Hi all,
>
>I'm testing out a simple jsp page and bean using jswdk1.0.1 on Win98.
>I'm instantiating the bean from a jsp page:-
> <jsp:useBean id="fH" class="SambaUsers" scope="session"/>
>
>The bean is placed in web-inf\jsp\beans (which is in the CLASSPATH)
>The server complains that it cannot find the bean.
>
>If I use:-
> <jsp:useBean id="fH" class="bgate.SambaUsers" scope="session"/>
>
>and place the bean in web-inf\jsp\beans\bgate. Then it works ok.
>
>Why does the server complain that it cannot find the bean in the first
instance
>?
>Are we limited to a certain directory structure using jswdk.
>
>Thanks
>Phil Hedley
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>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".
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