On Mon, 21 Jan 2002, Scott Ahten wrote:

> Date: Mon, 21 Jan 2002 00:14:40 -0500
> From: Scott Ahten <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Help in configuring Taglibs
>
> for some reason, it's trying to find the classes in the jsp namespace,
> which is 'org.apache.jsp.'
>

This package name happens to be what Tomcat 4 uses for all generated JSP
pages.  Don't know if this is your problem, but if you try to reference a
bean class that is not in a package, you *must* explicitly import it in
the page:

  <%@ page import="Organization" %>

to successfully find an unpackaged bean class named "Organization".
Otherwise, the JSP page compiler follows the standard rules that javac
uses, and assumes that an unnamed class is in the same package that the
program being compiled lives in -- and that is not the case here.

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to