在我的J2EE应用程序中,我使用了一个servlet,但是Netbeans似乎并不能识别javax.servlet.http.HttpServlet,javax.servlet.http.HttpServletRequest或javax.servlet.http.HttpServletResponse库。使用Netbena 6.7 ...如何解决问题????
选择Java Web项目模板。
Just like adatapost already said, make sure you started with a project type that's appropriate, like Java Web Web Application. The tutorials on the Netbeans side are very helpful, you can find the web related tutorials here
Yes. Also, you might need the web development related plugins for creating a new 'Java web application'.
The 'Java SE' variant of Netbeans might not be sufficient. Download the complete Java Netbeans IDE (for 238 MB) from here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.