| Author |
Request to Bean
|
Nabila Mohammad
Ranch Hand
Joined: Nov 05, 2007
Posts: 661
|
|
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!
|
The future belongs to those who believe in the beauty of their dreams.Dream BIG!
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9191
|
|
|
Your Employee class is not public...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
Nabila Mohammad
Ranch Hand
Joined: Nov 05, 2007
Posts: 661
|
|
oh Miee!! And i still haven't learned from my mistakes!
Thanks alot!
|
 |
 |
|
|
subject: Request to Bean
|
|
|