[Logo]
Forums Register Login
bean cannot be found in JSP page
Hello
I have created a class (java bean) PersonBean
when I try to use it in a JSP page :
<%@page import="PersonBean" %>

an error came up : PersonBean can not be resolved to type

I am using tom cat, the java bean class "PersonBean" is in the classes folder of the web application

Could you help please
Best Regards
[ July 05, 2007: Message edited by: Bear Bibeault ]
This is covered at length in the JSP FAQ. Please follow the guidelines there.
can you try it using package?

you have to make package for imporrt class...
From our JSP FAQ:
http://faq.javaranch.com/view?BeansNotFound
Also, please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

I have adjusted the subject of this post for you.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Oct 19, 2017 12:50:24.