diff --git a/ticketing-master/WebContent/pages/admin/welcome.jsp b/ticketing-master/WebContent/pages/admin/welcome.jsp index c8e3d5d..8f10749 100644 --- a/ticketing-master/WebContent/pages/admin/welcome.jsp +++ b/ticketing-master/WebContent/pages/admin/welcome.jsp @@ -1,16 +1,40 @@ -<%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> +<%@ 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+"/"; %> + + + + + + - -WELCOME + + + + WELCOME + + + - + + + - \ No newline at end of file + + + + + + + + + \ No newline at end of file