WebRoot/pages/navTop.jsp

(完整代码) 1KB

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<% 
	String navUsername = (String)request.getSession().getAttribute("username"); 
%>
<div class="top_right_navRight">
	<ul>
		<li><a href="<%=request.getContextPath()%>/index.jsp">首页</a></li>
		<li><a href="<%=request.getContextPath()%>/pages/nav1.jsp"><%=com.inloam.common.Constant.NAV1_NAME %></a></li>
		<li><a href="<%=request.getContextPath()%>/pages/nav2.jsp"><%=com.inloam.common.Constant.NAV2_NAME %></a></li>
		<li><a href="<%=request.getContextPath()%>/pages/nav3.jsp"><%=com.inloam.common.Constant.NAV3_NAME %></a></li>
		<li><a href="<%=request.getContextPath()%>/pages/nav4.jsp"><%=com.inloam.common.Constant.NAV4_NAME %></a></li>
		<li><a href="<%=request.getContextPath()%>/pages/nav5.jsp"><%=com.inloam.common.Constant.NAV5_NAME %></a></li>
		<%if(org.apache.commons.lang.StringUtils.isNotEmpty(navUsername)){ %>
			<li>欢迎:<%=navUsername %></li>
			<li><a href="<%=request.getContextPath()%>/login.action?method=index">进入后台</a></li>
			<li><a href="<%=request.getContextPath()%>/login.action?method=sysOut">退出</a></li>
		<%}else{ %>
			<li><a href="<%=request.getContextPath()%>/login.action?method=index">登录</a></li>
			<li><a href="<%=request.getContextPath()%>/login.action?method=regist">注册</a></li>
		<%} %>
		<div class="clear"></div>
	</ul>
</div>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。