Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!