The problem is specifically with classpath settings. I get the same problem
with Weblogic, NES. While using supporting classes in JSP or Servlet, always
use package. It's convinient. Try to put the bean class in a package. Like
package abc;
class a
...
...
....
put abc in c:/ or in any drive
in properties file, set the classpath to c:/.
JSP can be put in the document root of server.
It works for me.
Regards,
Shishir
>From: "Mukka, Srikanth" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: help me out - problem in JSP/Beans using Apache web server an
> d New Atlanta ServletExec
>Date: Thu, 7 Dec 2000 10:25:25 -0500
>
>Try specifying the classpath in the properties file, and start your apps
>server.
>
>Srikanth
>
>
>
>-----Original Message-----
>From: Srinivasan Kannan [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 07, 2000 9:21 AM
>To: [EMAIL PROTECTED]
>Subject: help me out - problem in JSP/Beans using Apache web server and
>New Atlanta ServletExec
>
>
>hi friends,
> I have a problem in jsp. The problem is i
>call a bean from my jsp page but when i run it, it's
>giving me an error as that bean not found. i'm new to
>jsp and bean, i don't have any problem in compiling
>the bean.But i don't know the exact place as to where
>i should put my jsp page and bean class. I have put my
>jsp page in htdocs folder which is the default folder
>for htm's and jsp's. i think it's correct to put those
>stuff in that folder but with regard to bean i don't
>know where i should put that. In New Atlanta
>Servletexec app server i have one folder to put my
>servlets which works fine for servlets but where
>should i put my bean class. i tried it in putting in
>the servlet folder and other folders and i have also
>set the classpath for the folder which contains the
>class file.
>
>******** please help me out **********
>
>i will give the code here
>
>my jsp code :
>=============
>
><html>
><head>
><title>jsp page which uses a bean</title>
></head>
>
><body>
>
><jsp:useBean id="myBean" class="TestingBean" />
><jsp:setProperty name="myBean" property="name"
>value="ICC" />
><jsp:getProperty name="myBean" property="name" />
>
></body>
></html>
>
>my bean code is
>===============
>
>public class TestingBean
>{
> String name;
>
> public void setName(String sName)
> {
> name = sName;
> }
>
> public String getName()
> {
> return name;
> }
>
>}
>
>
>Thanks in advance
>
>Hoping to get a solution for this friends
>
>bye
>
>Srinivasan.K
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Shopping - Thousands of Stores. Millions of Products.
>http://shopping.yahoo.com/
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>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".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>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 more from the Web. FREE MSN Explorer download : http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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