Raman,

Try and put all of your classfiles directories in
weblogic/myserver/serverclasses/com/ixl/dca/ccms/

I do not think that you would want to put your classes in
public_html/classes/beans directory since they would be available to any
html page.  But if you wanted to you could by changing your
weblogic.propties files.

Raman i took Bea Weblogic Admin course and it was very good for training (if
your company will pay for it)  The class with anwser this type of questions
and many other that you have not formed yet.

Disclamer: I am not affilated with BEA in any way other than using there
product

Daniel Jaffa


-----Original Message-----
From: Raman Ravikumar [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: How to use Bean in Weblogic 5.1


-----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

===========================================================================
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

Reply via email to