you need to import it using the import statement.
<% import <classname> %>

RS




"Ron Day" <[EMAIL PROTECTED]> on 07/10/2002 05:20:27 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:    <[EMAIL PROTECTED]>
cc:

Subject:    Beans in packages vs beans not in packages

Hi,

When I run a webapp with a bean in a package -- say "com.form", everything
works fine. But when I try to run a bean that is not in a package I always
get class not found error.

1)I am using usebean in both cases, one has class name, one has full
package
name.
2)Bean has package name in one but no in the other.
3)Bean is in class directory at top level for no package, and in correct
package directory structure for package.

There are no other changes, except to recompile bean, and restart tomcat.

Any help appreciated.

ron




--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>










--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to