-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Rupali Bains Goswami
Sent: Friday, July 07, 2000 01:33 PM
To: [EMAIL PROTECTED]
Subject: How to use Bean in Weblogic 5.1
Hello,
I have a jsp page and I want to call some validation beans from it.
for the setup I have modified the weblogic.properties file to specify my
document root as public_html under which i have the htdocs directory where
the jsp and html files reside. The bean are placed in the
public_html/classes/beans directory
my jsp file looks something like this
<%@ page language="java" import="com.ixl.dca.ccms.*" %>
<jsp:useBean id="auth" scope="session" class="com.ixl.dca.ccms.Authenticate"
/>
<%
if (auth.allowedUser
(request.getParameter("user"),request.getParameter("password"))
{
%>
<jsp:forward page=Success.jsp/>
and the java file which is in the public_html/classes/beans directory is
package beans;
import java.sql.*;
public class Authenticate extends HttpServlet
{
public Authenticate()
{
// constructor for the bean
}
when I try to run this i get the
classnotfoundexception in the jsp page
can some one please tell me why..
thanks
-Nisha
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets