it looks like the server doesn't know where to find your bean. most servers
have a 'classes' directory where you can place your beans. then you must
reference them in the usebean tag by their fully qualified name, e.g.
com.project.Contact, just like you do in an import statement. you should be
able to find this in your documentation or the jsp api..
bradley mclain
>From: Jyoti Bongarala <[EMAIL PROTECTED]>
>Reply-To: Jyoti Bongarala <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: jsp and bean(Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
>Date: Fri, 17 Mar 2000 12:16:15 -0800
>
>HI! Everyone,
>I am new in the list.
>Well I just started working with java,JSP,Beans....
>I have a background in ASP.
>
>Well my question is :
>Everytime I request a jsp(without a bean in it), it
>works well and gets compiled into a servlet and gives
>me the desired results. BUT when I call a bean in the
>jsp, it just doesn't work. Invariably I get the
>following error message.
>
>Parsing of JSP File
>'C:\weblogic\myserver\public_html\JSPfiles\SetName12.jsp'
>failed:
>--------------------------------------------------------------------------------
>
>C:\weblogic\myserver\public_html\JSPfiles\SetName12.jsp(2):
>Could not create a bean of type: Contact:
>java.lang.ClassNotFoundException: Contact
>probably occurred due to an error in
>C:\weblogic\myserver\public_html\JSPfiles\SetName12.jsp
>line 2:
>"session" class="Contact"/>
>
>
>
>
>BTW , I am using WebLogic as my app server. Can some
>one please help me with this and tell how can I get my
>code to work. I would appreciate any help I get.
>
>Thanks,
>Jyoti.
>
>__________________________________________________
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.
>http://im.yahoo.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
______________________________________________________
Get Your Private, Free Email 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