JSP中import导入包后,tomcat中出现Http Status 500错误
JSP中import导入包后,tomcat中出现如下:Http Status 500错误
C:\Documents and Settings\Administrator.WORKGROU-E7B286\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\PhoneCard\org\apache\jsp\p_005f200_jsp.java:6: package javase.p_98 does not exist
import javase.p_98.D200_Card;
参考答案:在jsp中导入包应该在jsp头上写
<%@ page import="java.util.*;javase.p_98.D200_Card" %>
一定要保证你的javase.p_98.D200_Card包存在,并且存在的位置正确
import javase.p_98.D200_Card;用在*.java中