how Tomcat needs package name in front of the class after import?
Posted on 2003-11-16
I move my application from my machine to production server running tomcat3.1 and found some codes are not working any more.
I am getting this error:
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
E:\apps\tomcat\work\localhost_8080%2Fpolym\_0002falign_0002dresult_00033_0002ejspalign_0002dresult3_jsp_0.java:89: Class Hashtable not found.
Hashtable ad = (Hashtable)request.getAttribute("disclist");
If I add package name in front of the Hashtable, it will work. So, why the import statement not working?
Thanks. Is this a Tomcat 3 problem?