http://www.w3school.com.cn/tags/tag_base.asp
参考这些标签的说明吧。

解决方案 »

  1.   

    <%
    String path = request.getContextPath();
    这个是获得上下路径,即工程的发布路径。
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    这个是访问的路径,格式为 域名 :// 主机名:端口号:工程名
    <base href="<%=basePath%>">
    meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">   
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">这个是清楚页面缓存。
      

  2.   

    meta属性详解1
    meta属性详解2