Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bean cannot be found in JSP page  RSS feed

 
samir mohamed
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is covered at length in the JSP FAQ. Please follow the guidelines there.
 
Nilesh Patel
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you try it using package?

you have to make package for imporrt class...
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!