Not really.
If the web app can find the class with a help of a fully qualified class
name there is no way it can find it with an import statement.
The only thing that might happen is that you would get two error messages
instead of one.
Have a nice day.
With regards,
Sachin S. Khanna
http://www.emailanorder.com
----- Original Message -----
From: Amarnath N <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 9:36 AM
Subject: Re: package not found
> import the class and try..i hope u will get it
> ----- Original Message -----
> From: "Sharon Om" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 11, 2001 7:10 AM
> Subject: package not found
>
>
> > Hello. I am just a beginner in JSP and I am having a little bit of
> trouble
> > instantiating a bean.
> > My bean1.java is contained in a package called "property" and I am
calling
> > the bean in my JSP file called LTMerch.jsp using the following line:
> >
> > <!- Find and instantiate the bean, and refer to it as myBean -->
> > <jsp:useBean id="myBean" scope="page" class="property.bean1"/>
> >
> > I get the following error and I am unable to find out why. All the
files
> > seem to be in place. (bean1.class is in the property folder...).
> >
> > org.apache.jasper.JasperException: Unable to compile class for
> >
>
JSPC:\Apache\jakarta-tomcat\work\localhost_8080%2Fexamples\_0002fJSP_0002fLT
> > Merch_0002ejspLTMerch_jsp_0.java:72: Class property.bean1 not found.
> > property.bean1 myBean = null;
> > ^
> >
> > Could someone please help me pointing out what might be my problem?
> > Thank you.
> >
> >
>
===========================================================================
> > 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