jQuery in Action, 3rd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Request to Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Request to Bean" Watch "Request to Bean" New topic

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:




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

Joined: Aug 03, 2008
Posts: 9466

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!
I agree. Here's the link: http://aspose.com/file-tools
subject: Request to Bean
jQuery in Action, 3rd edition