On Fri, 23 Mar 2001, Aravind wrote:

> yes, i too facing the same problem.
> i have jsp file and the bean in the same directory (in tomcat,
> d:\tomcat\webapps\cms\ )
> as u said, even i copied the bean to WEB-INF directory

The beans must be in the WEB-INF\classes directory


> still it is not working....
>
> Aravind
>
>
> ----- Original Message -----
> From: Thompson, Willard (GTICCC) <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 23, 2001 6:10 PM
> Subject: Re: Java Beans!!
>
>
> our beans are in the web-inf directory (of JRun web server) and we would do
> a <jsp:useBean id="....
>
> -----Original Message-----
> From: Shahaji Kadam. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 3:35 AM
> To: [EMAIL PROTECTED]
> Subject: Java Beans!!
>
>
> Hi,
>
> I am calling a Java Bean from a JSP file.
>
> Both the .jsp file and Java Bean (.class file) is in the same directory ex.
> ../jsp/
>
> when i call .jsp page i get an error that bean could not be found. It seems
> that it is not able to locate the Bean.
>
> how can i import the bean in JSP page?
>
> is it required to register the ../jsp/ path to make the beans inside it
> avaiable to JSP pages ?
>
> any hints ???
>
> thanks
>
> Shahaji.Kadam
>
> ===========================================================================
> 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
>
> ===========================================================================
> 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
>

T+

--------------------------------------------------------------------------
      Rodrigo de Oliveira Lopes          "Nao me entrego sem lutar
  Mestrando em Ciencia da Computacao      Tenho ainda coracao
    Universidade Federal do Ceara         Nao aprendi a me render
         [EMAIL PROTECTED]               Que caia o inimigo entao"
         [EMAIL PROTECTED]                               Renato Russo

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

Reply via email to