jsp初始页面的元素 http://www.w3school.com.cn/tags/tag_base.asp参考这些标签的说明吧。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <%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">这个是清楚页面缓存。 meta属性详解1meta属性详解2 axis2 客户端不能调用wsdl2java 生成的类 急死人了——时间来不急了 二级菜单 各位大虾谁能帮帮小弟解决一下这个函数调用问题 谢谢了 为什么基本表结构更改之后,相关的视图不能自动更改过来呢 一个数据库连接的bean,就是编译不过去 如何将数据库中的数据显示在某日历上呢? 救命啊,大侠们关于IE 不能执行JavaScript 又来放分,判断全数字的方法?? 安装tomcat,在线等待 jsp页面,mysql查询的数据报表输出 jsp bean 新手求助~~~
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">这个是清楚页面缓存。
meta属性详解2