1.页面自动跳转:
<meta http-equiv="refresh" content="0.1;url=login/login_toLogin.action">
2.jsp中获取项目名(得到"/myProjectName"):
<%=request.getContextPath()%>