Forums Register Login
bean cannot be found in JSP page
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:
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.

This thread has been viewed 870 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 22, 2018 01:56:04.