跟随老师练习指令元素时出现了
Multiple annotations found at this line:
- basePath cannot be resolved to a variable
- Line breakpoint:demo.jsp [line: 10]
的错误,是因为<%@include%>引进的是代码,把代码包含进来,而新进JSP时,会默认生成
**<%
String path = request.getContextPath();
String basePath = request.getScheme()+"😕/"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
练习jsp的include指令元素时出现的Multiple annotations found at this line: 错误
最新推荐文章于 2023-03-28 21:12:11 发布