Hi there,
You have to specify fully qualified path for a bean class in <jsp:useBean>
tag
y
----- Original Message -----
From: Dave Lin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2000 9:06 AM
Subject: useBean class name problem
> dear Sir,
> I got a problem when I use the <jsp:useBean/> tag, I have a bean in
> package com.xxx.yyy.zzz, when I write the code:
> <%@ import="com.xxx.yyy.zzz.*"%>
> <jsp:useBean id="bb" class="bean" scope="request">
>
> it doesn't work!!! but when I use
>
> <%@ import="com.xxx.yyy.zzz.*"%>
> <jsp:useBean id="bb" class="com.xxx.yyy.zzz.bean" scope="request">
>
> it works!! what's wrong w/ me?
> I use Linux + jdk.1.2.2 + tomcat, and I sure that I put the imported class
> in WEB-INF dir, thanx
>
> Dave
>
>
===========================================================================
> 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