It's not a secret anymore!
The moose likes JSP and the fly likes usebean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "usebean" Watch "usebean" New topic


dhanasekaran mani

Joined: Aug 29, 2006
Posts: 6
i tried to usebean and it says The value for the useBean class attribute hall.SimpleBean is invalid.

where i need to place the package
Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
You have to place hall.SimpleBean in the server classpath e.g., application's classes folder.

Second you need to import the class in jsp

[ August 29, 2006: Message edited by: Naseem Khan ]

Asking Smart Questions FAQ - How To Put Your Code In Code Tags
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Covered in the JSP FAQ.

Also, please use more meaningful subjects in future posts.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: usebean
It's not a secret anymore!