<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
例如:<%-- Created by IntelliJ IDEA. User: Administrator Date: 2019/6/5 Time: 15:02 To change this template use File | Settings | File Templates.--%><%@ page contentType="text/html;charset=UTF-8" language="java" %><%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>Title
查看所有部门 | ||||
部门编号 | 部门名称 | 部门位置 | 表操作 | |
---|---|---|---|---|
${dept.deptno} | ${dept.dname} | ${dept.loc} | 删除 修改 | |
添加部门 |