I am trying some sample applications that came with Sams Teach Yourself JSP.
When I run one of these I get the following error:
org.apache.jasper.JasperException: /ch07/ch07_09.jsp(9,8) The value for the useBean class attribute beans.ch07_07 is invalid.
The jsp file that I have is pasted below. Is there something wrong with the path. Because the javabean was compiled correctly and I have saved the file under the folder of Tomcat - webapps\Sams-TY-JSP\ch07\WEB-INF\classes\beans while the jsp page is in webapps\Sams-TY-JSP\ch07
I ran a few other examples and they ran ok. But with this one I am having problems.
Can someone please advise what is wrong here.
<HTML> <HEAD> <TITLE>Using Beans and Session Scope</TITLE> </HEAD>