Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Error using useBean tag in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error using useBean tag in jsp" Watch "Error using useBean tag in jsp" New topic

Error using useBean tag in jsp

Mohamed AshrafM

Joined: May 22, 2001
Posts: 5
When ever i run the jsp-javabean using useBean tag i get this error.

org.apache.jasper.JasperException: Unable to compile class for JSPD:\j2sdkee1.2.1\repository\o2\web\ Class GetName not found in import.
import GetName;
1 error
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.runtime.JspLoader$
please clarify what's the mistake .
thanks asn regards
Mohamed Ashraf.M
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please show us the bit of your JSP which is causing the problem. It looks like you are trying to refer to a method name as if it is a bean class name.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Error using useBean tag in jsp
It's not a secret anymore!