代码如下: <%@ page language=”java” contentType=”text/html; charset=utf-8′′ pageEncoding=”utf-8′′%> <% String path = request.getContextPath(); String basePath = request.getScheme() + “://” + request.getServerName() + “:” + request.getServerPort() + path + “/”; %> <!DOCTYPE html PUBLIC “-//