aspose file tools*
The moose likes JSP and the fly likes jsp:useBean help is required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:useBean help is required" Watch "jsp:useBean help is required" New topic
Author

jsp:useBean help is required

Tahir Ehsan
Greenhorn

Joined: Apr 18, 2006
Posts: 9
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.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

See:
http://faq.javaranch.com/view?BeansNotFound


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:useBean help is required