When I try to run some jsps and beans that I created relative tothe examples directory I can run them fine without the <%@page import=...%> statement at the top of the jsps.
But when I try to run a newly created app from the webapps folder with jsps and objects/beans I canot get it to run without the <%@page import=...%> statement. The JSP thows the foll. error:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
An error occured between lines: 4 and 8 in the jsp file: /Name.jsp
Generated servlet error:
C:\Program Files\Apache Tomcat 4.0\work\localhost\TestNM\Name$jsp.java:59: Class org.apache.jsp.Name not found.
Name name = new Name();
^
Why is that?
Also there is another page that works with or without the <%@page import=...%> statement????
But when I try to run a newly created app from the webapps folder with jsps and objects/beans I canot get it to run without the <%@page import=...%> statement. The JSP thows the foll. error:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
An error occured between lines: 4 and 8 in the jsp file: /Name.jsp
Generated servlet error:
C:\Program Files\Apache Tomcat 4.0\work\localhost\TestNM\Name$jsp.java:59: Class org.apache.jsp.Name not found.
Name name = new Name();
^
Why is that?
Also there is another page that works with or without the <%@page import=...%> statement????