DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14801>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14801 imports fail on non-packaged classes Summary: imports fail on non-packaged classes Product: Tomcat 4 Version: 4.1.12 Platform: PC OS/Version: Windows NT/2K Status: UNCONFIRMED Severity: Major Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] The import statement fails in JSP pages where the class being imported does not have a package. This occurs regardless of the location of the class. That is to say if the class is located at .\WEB-INF\classes\theClass.class or .\WEB- INF\lib\jar\jarfile.jar; or within the various areas of tomcat such as commons. The bug does not occur within tomcat 4.0.x. jdk-version=1.4.1 The import statement: <%@ page import="MD5" %> <%@ page import="java.security.MessageDigest" %> <%@ page import="java.net.*" %> Note: MD5 fails. Error Message: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 32 in the jsp file: /processLogin.jfcc Generated servlet error: [javac] Compiling 1 source file D:\Inetpub\jspwork\myhrlogin.mot.com\processLogin_jfcc.java:7: '.' expected import MD5; ^ D:\Inetpub\jspwork\myhrlogin.mot.com\processLogin_jfcc.java:193: cannot resolve symbol symbol : class MD5 location: class org.apache.jsp.processLogin_jfcc MD5 hash; ^ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>