方枪枪的java世界

不要因为风雨飘落就停止了你的脚步,真正的得失就在你的心中。 做喜欢做的事,不轻言放弃!

05 整合spring3和mybatis进行web开发之main_jsp

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>天河框架案例演示</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="http://localhost:8080/jxc/skins/default/css/ngmain.css" />
<script language=javascript src="http://localhost:8080/jxc/skins/default/js/ngcommon.js"></script>
<script language="javascript">
function doLogin()
{
 document.form0.action = "<%=request.getContextPath()%>/loginAction!login.action";
 document.form0.method = "post";
 document.form0.submit();
}
</script>
</head>

<body>
<jsp:include page="/inc/header.jsp">
 <jsp:param name="topIndex" value="4" />
 <jsp:param name="leftIndex" value="blog" />
</jsp:include>

<h1>main.jsp</h1>

<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/index.jsp">${sessionScope["SESSION_ROOT_URL"]}/index.jsp</a></h1>

<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello1/helloA.do">${sessionScope["SESSION_ROOT_URL"]}/pub/hello1/helloA.do</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello1/helloB.do">${sessionScope["SESSION_ROOT_URL"]}/pub/hello1/helloB.do</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello2/helloA.do">${sessionScope["SESSION_ROOT_URL"]}/pub/hello2/helloA.do</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello2/helloB.do">${sessionScope["SESSION_ROOT_URL"]}/pub/hello2/helloB.do</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello3/helloA/zhangsan/55.do">${sessionScope["SESSION_ROOT_URL"]}/pub/hello3/helloA/zhangsan/55.do</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello3.do?service=serviceB&username=lisi&password=123456">${sessionScope["SESSION_ROOT_URL"]}/pub/hello3.do?service=serviceB&username=lisi&password=123456</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/pub/hello3/helloC.do?id=100">${sessionScope["SESSION_ROOT_URL"]}/pub/hello3/helloC.do?id=100</a></h1>

<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/jsp/example/ajax/ajaxGetInput1.jsp">${sessionScope["SESSION_ROOT_URL"]}/jsp/example/ajax/ajaxGetInput1.jsp</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/jsp/example/ajax/ajaxPostInput1.jsp">${sessionScope["SESSION_ROOT_URL"]}/jsp/example/ajax/ajaxPostInput1.jsp</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/jsp/example/html/textarea.html">${sessionScope["SESSION_ROOT_URL"]}/jsp/example/html/textarea.html</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/jsp/example/i18n/i18n.jsp">${sessionScope["SESSION_ROOT_URL"]}/jsp/example/i18n/i18n.jsp</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/jsp/example/jdbc/OracleDriver.jsp">${sessionScope["SESSION_ROOT_URL"]}/jsp/example/jdbc/OracleDriver.jsp</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/jsp/example/jdbc/JdbcOperation.jsp">${sessionScope["SESSION_ROOT_URL"]}/jsp/example/jdbc/JdbcOperation.jsp</a></h1>
<h1><a href="${sessionScope["SESSION_ROOT_URL"]}/batchAction!init.action">${sessionScope["SESSION_ROOT_URL"]}/batchAction!init.action</a></h1>
 
<center>
 <div id="footer">
  <h5>帮助  |  关于我们  |  使用条款    |  开放平台</h5>
  <a href="http://localhost:8080/jxc/welcome.jsp">f_qiangqiang@qq.com</a>
 </div>
</center>

<center><h1><a href="http://www.google.com.hk/">Google</a></h1></body></center>

<jsp:include page="/inc/footer.jsp">
 <jsp:param name="topIndex" value="4" />
 <jsp:param name="leftIndex" value="blog" />
</jsp:include>

</body>
</html>

posted on 2012-07-07 15:09 做强大的自己 阅读(219) 评论(0)  编辑  收藏 所属分类: Spring


只有注册用户登录后才能发表评论。


网站导航: