Jasper generates
servlet code from your JSPs.
The servlets generated go into the org.apache.jsp package.
You can see this code under TOMCAT_HOME/work.
Your JSP can not find the file because you didn't import it.
When you add the following imput line to the top of your JSP:
<%@ page import="Text" %>
You will probably get another error, either during compilation or at runtime.
This will be due to the fact the the generated servlet class (which is packaged) will be trying to import a non-packaged class.
If you package the Text class and put it under:
WEB-INF/classes/{package-name}/Text.class
and then change the import directive:
<%@ page import="{package-name}/Text" %>
your JSP will be able to find the class.
[ April 29, 2005: Message edited by: Ben Souther ]