<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> Insert title here <% String path = request.getContextPath(); String basePath =""; if(request.getServerPort()==80){ basePath = request.getScheme()+"://"+request.getServerName()+path+"/"; }else{ basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; } basePath = basePath.substring(0, (basePath.lastIndexOf("/") == basePath.length() - 1) ? basePath.lastIndexOf("/") : basePath.length()); session.setAttribute("basePath",basePath+"/"); %>
资讯导航
 
 
${solution.title}
        ${solution.content}