/jsp/common/scriptf.jsp (line: 1, column: 2) Page directiv 更改jsp報錯
阿新 • • 發佈:2018-12-15
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <select id="prov" > <option>3</option> <option>2</option> </select> <select id="city"> <option></option> </select> <select id="county"> <option></option> </select> <select id="town"> <option></option> </select> <select id="village"> <option></option> </select> <%@include file="common/scriptf.jsp"%> <script src=" ${pageContext.request.contextPath}/js/common/main/showRegion.js"></script> </body> </html>
看這個scriptf.jsp頁面中是否有與當前頁面的表頭是否一樣
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>