• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Request to Bean

 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

I keep getting the error and have been getting it for quite some time and i cant figure out why it is invalid!

org.apache.jasper.JasperException: /TestBean.jsp(1,1) The value for the useBean class attribute foo.Employee is invalid.

My code:


Person.java


Employee.java


TestBean.jsp




Even when I would class="foo.Employee" with out the "type" , I would get the same error.

And it all loooks so simple!




 
Ankit Garg
Sheriff
Posts: 9580
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your Employee class is not public...
 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh Miee!! And i still haven't learned from my mistakes!

Thanks alot!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic