Hi I need help in jsp and javabean. Basically I am making a database connection in javabean (DbBean). And accessing this connection(DbBean) in jsp file(Login.jsp). This Login.jsp file is in Tomcat\webapps\Root\myfile Folder. And DbBean file is in Tomcat\webapps\Root\WEB-INF\classes Folder. If I put Login.jsp file in Tomcat\webapps\Root Folder. Then the code execute correctly. But when I put Login.jsp file in myfile folder, then generate message "class not found." Now I want to ask what path should I mention here when I use Login.jsp file in myfile folder <jsp:useBean id="db" scope="request" class="DbBean"> Or I have to make some correction in DbBean.