using a javabean in JSP....where???
Posted on 2002-06-26
Here is what I have:
I'm trying to use javabeans with my JSP page. I have successfully created a javabean class file and have put it in the /WEB_INF/classes folder in the directory where the jsp files are located. To access the javabean I used this tag:
<jsp:useBean class="insertBean" id="insert" scope="application" />
I have also tried..
<jsp:useBean class="/classes/insertBean" id="insert" scope="application" />
but when I try to load the page I get an error saying that it cannot find insertBean.class
Where should I put the class file?