On Wed, 25 Jun 2003, Andy Engle wrote:

> On Wednesday, June 25, 2003, at 06:30  PM, I wrote:
>
> > I have my JavaBean compiled without any problems, and the class file is
> > located in my WEB-INF file.  My JSP is trying to bring it in, but there
> > are error messages.
>
> Perhaps I wrote the e-mail too quickly -- the JavaBean class file is
> actually in the WEB-INF/classes directory.

Try putting the Bean in a package.  And then you'll have to update a
bunch of stuff accordingly -- like the import in the JSP, and the
location of the Bean class file, etc.  Some of the error messages look
like they're related to that (e.g. "'.' expected").  I think it's
required, or recommended, to put Beans in a package (perhaps just with
the latest JDKs, which are now enforcing a rule about packages that
wasn't strictly enforced previously).  I'm sure if you did a search
for it (either on this list's archives or at google), you'd find more
info about it.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to