jsp动态菜单+数据库读取菜单url和菜单名称

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%
 String path = request.getContextPath();
 String basePath = request.getScheme() + "://"
 + request.getServerName() + ":" + request.getServerPort()
 + path + "/";
%>




HRD










<%
 String num = (String) request.getSession().getAttribute(
   "userNumber");
 String name = (String) request.getSession()
   .getAttribute("userName");
%>

 cellspacing="0" background="<%=basePath%>image/run.jpg">
 
  
 
 
  
 
 
  
 
 
   
 
 
  
 
 
  
 
  
  
    
  
  
 

   bgcolor="#CCCCCC">    人员档案
   bgcolor="#CCCCCC">    人事调配
   bgcolor="#CCCCCC">    教育培训
   bgcolor="#CCCCCC">    系统管理



 

你可能感兴趣的:(JS)