B
BlueWin
Unregistered / Unconfirmed
GUEST, unregistred user!
装好jdk,配置了tomcat,运行简单的jsp都正常了。
可是在运行Jb9时,发现在写
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletInputStream;
时,根本不存在javax.servlet这个东东。
编译时提示:
"FileUploadBean.java": package javax.servlet.httpdo
es not exist at line 3, column 27
"FileUploadBean.java": package javax.servlet.httpdo
es not exist at line 4, column 27
"FileUploadBean.java": package javax.servletdo
es not exist at line 5, column 22
用javac 编译时也是一样的错误,这是什么原因???
可是在运行Jb9时,发现在写
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletInputStream;
时,根本不存在javax.servlet这个东东。
编译时提示:
"FileUploadBean.java": package javax.servlet.httpdo
es not exist at line 3, column 27
"FileUploadBean.java": package javax.servlet.httpdo
es not exist at line 4, column 27
"FileUploadBean.java": package javax.servletdo
es not exist at line 5, column 22
用javac 编译时也是一样的错误,这是什么原因???