Hi Gavin,
      Can I ask where did you include the bean class file?can u specify the
location for me?
shannon
Gavin Selvaratnam <[EMAIL PROTECTED]> wrote:
Hi,
     I'm using Javawebserver2.0 , and trying just to run a simple JSP with
references a bean, given bellow is the code snipet,

<jsp:useBean id="counter" scope="session" class="Counter" />

I have included the bean in the default classes directory of the
javawebserver, but I'm getting the error given bellow,

Error during compilation :
C:
\Java\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_BeanCounter.java:73:
Class pagecompile.jsp.Counter not found in type declaration.
                Counter counter = null;
                ^
C:
\Java\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_BeanCounter.java:76:
Class pagecompile.jsp.Counter not found in type declaration.
                    counter= (Counter)
                              ^
C:
\Java\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_BeanCounter.java:81:
Class pagecompile.jsp.Counter not found in type declaration.
                            counter = (Counter)
Beans.instantiate(getClassLoader(), "Counter");
                                       ^
3 errors



Please Help................

Rgds,
Gavin

===========================================================================
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://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


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

===========================================================================
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://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

Reply via email to