Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP java.lang.classnotfoundexception

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting this error while accessing the bean class from the jsp.The class is in the other package which i am importing
<jsp:useBean id="usrPrev" scope="session" class="statelessbean.HelloBean" />
</jsp:useBean>
its throwing the classnotfoundexception.i am importing the bean class
thanks in advance
 
kichu kichu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
In which folder are u storing the class file??(i.e HelloBean)
regards,
kichu.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic