This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes JSP java.lang.classnotfoundexception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP java.lang.classnotfoundexception" Watch "JSP java.lang.classnotfoundexception" New topic
Author

JSP java.lang.classnotfoundexception

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: May 10, 2001
Posts: 59
Hai,
In which folder are u storing the class file??(i.e HelloBean)
regards,
kichu.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSP java.lang.classnotfoundexception