Hi again,
Thanks for replying. I think I know the answer to my own question.
When using a JavaBean in JSP, make sure that the Bean belongs to a
package. If not, it will not be located and you must directly import it -
even if it's in the classpath. However, if the JavaBean DOES belong to a
package than I guess no importation is required as long as its in the
classpath.
Stanley Tan
At 01:25 PM 4/8/01 +0530, you wrote:
>to the best of my knowledge -- no ! However it is expected that the same
>should be avialable via CLASSPATH
>
>Mayuresh
>
>----- Original Message -----
>From: "Stanley Tan" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, April 08, 2001 05:15
>Subject: Import
>
>
> > If a JSP page were to contain:
> >
> > <jsp:useBean id="formHandler" class="foo.FormBean" scope="request">
> > <jsp:setProperty name="formHandler" property="*"/>
> > </jsp:useBean>
> >
> > Does foo.FormBean need to be imported?
> >
> >
>===========================================================================
> > 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