阅读背景:

org.apache.jasper.JasperException: Unable to compile class for JSP: 解决办法

来源:互联网 
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 3 in the jsp file: /ch3-4-include1.jsp
Duplicate local variable path
1: <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
2: <%
3: String path = request.getContextPath();
4: String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5: %>
6: 


An error occurred at line: 4 in the jsp file: /ch3-4-include1.jsp
Duplicate local variable basePath
1: <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
2: <%
3: String path = request.getContextPath();
4: String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5: %>
6: 
7: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">org.apache.jasper.JasperException: Unable to co



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: