tony wrote:
> 
> Hi, all. I created a bean class and put it at "test/WEB-INF/classes/", I call it at
> a jsp file, the following meg was returned to me.  can anybody tell me why?thanks in
> advance.
> 
> Error: 500
> 
> Location: /test/jsp/testBean.jsp
> 
> Internal Servlet Error:
> 
> javax.servlet.ServletException:  Cannot create bean of class TestBean
>         at ....

Your Bean should be in a package, and
your <jsp:useBean tag must give the 
complete package in the class= attribute. 


-- 
WBB - [EMAIL PROTECTED]
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Reply via email to