Two Laptop Bag*
The moose likes JSP and the fly likes MyBean cannot be resolve or is not a type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "MyBean cannot be resolve or is not a type" Watch "MyBean cannot be resolve or is not a type" New topic
Author

MyBean cannot be resolve or is not a type

harish pathak
Ranch Hand

Joined: Dec 17, 2005
Posts: 51
Hi All,

I am getting following error while compiling jsp.

MyBean cannot be resolve or is not a type

I have used <jsp:useBean id="myid" name="aaa" class=MyBean> in my jsp..

please reply.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

This hardly seems Tomcat-specific so it's been moved to the JSP forum.
[ January 20, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Originally posted by harish pathak:
I have used <jsp:useBean id="myid" name="aaa" class=MyBean> in my jsp..


Are you really missing the quotes on the class attribute? If not, please take the time when posting to not make silly mistakes such as this. It wastes everyone's time. Read this.

Have you read the JSP FAQ entries on such issues?
 
Consider Paul's rocket mass heater.
 
subject: MyBean cannot be resolve or is not a type
 
Similar Threads
How to use <logic:iterate> over arraylist of a bean class
Using EL with [] and . operator
Tell me error in code of jsp:useBean
Problem retrieving javabean instance from request in JSP
How to call a bean in a jsp ?