• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error using useBean tag in jsp

 
Mohamed AshrafM
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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\_0005cBeans_0005cExbean_00032_0005cGet_0002ejspGet_jsp_0.java:15: Class GetName not found in import.
import GetName;
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:248)
at org.apache.jasper.runtime.JspLoader$2.run(JspLoader.java:273)
please clarify what's the mistake .
thanks asn regards
Mohamed Ashraf.M
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic