springMVC中设置首页问题
2015-04-28 19:01
281 查看
下面是index.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"pageEncoding="UTF-8"%><%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><base href="<%=basePath%>"><title>首页</title><span style="color:#ff6666;"><<span style="color:#ff6666;">meta http-equiv="refresh" content="0;url=selectProjectNoLogin.do"</span>> </span><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"><!--<link rel="stylesheet" type="text/css" href="styles.css">--></head><body></body></html>
相关文章推荐
- SpringMVC设置默认请求首页
- 使用wordpress时遇到的一个奇怪的问题:把页面设置为首页之后分页失效
- Tomcat设置首页问题
- SpringMVC中ModelAndView addObject()设置的值jsp取不到的问题
- Axure RP Pro - 相关问题 - 设置首页面
- SpringMVC默认首页设置
- Springmvc 默认首页的问题
- 设置SpringMVC默认首页启动
- springmvc默认首页问题
- 关于struts2中default-action-ref的一些问题及首页设置
- 详解SpringMVC中设置静态资源不被拦截的问题
- springmvc 设置默认首页
- 点击图标进入指定浏览器将首页设置全透明解决一闪而过问题
- 解决SpringMVC通过model设置中文消息乱码问题
- SpringMVC的Restful中PUT无法获取参数问题(SSL设置)
- 关于struts2中default-action-ref的一些问题及首页设置
- SpringMVC中ModelAndView addObject()设置的值jsp取不到的问题
- Tomcat设置<welcome-file>显示首页问题
- word页面设置问题。通过域设置首页不计算页面的自定义页码格式
- 1016-06-首页20-封装工具条---UITableView控件距离顶部的间距问题----cell选中时的背景颜色设置