File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:useBean help is required

 
Tahir Ehsan
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic