错误提示:Multiple annotations found at this line:- Duplicate local variable path- Duplicate local variable basePath 重复变量,因为<%@include%>引进的是代码,把代码包含进来,而新进JSP时,会默认生成<%String path = request.getContextPath();String basePath = request.getScheme()+":/…
新建一个jsp文件后,有一个错误,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法: 1. 右键项目->build path->configure build path... 2. 选择 Java build path 3. Add Library->Server Runtime->Click Next 4. 选择 Server ru…