You should write "import jsp.Staff.*" instead.
----- Original Message -----
From: Chin Sung Kit <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2000 2:42 AM
Subject: package problem in jsp
> hi all,
>
> i've written two beans under the package name called jsp
>
> bean 1
> Staff.java
>
> bean 2
> DatabaseBean.java
>
> when i tried to import Staff, it gave the following error:
> Class Staff not found in import.
>
> my DatabaseBean code,
> package jsp;
>
> import jsp.Staff; <------ error here
>
> public class DatabaseBean {
> }
>
> can someone telll me what's wrong with it?
>
> thanks.
>
> ced
===========================================================================
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