<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/json2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.easyui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/common/showMessage.js"></script>
<script type="text/javascript">
$(function(){
alert(window.name + "___" + "reload");
$("#test").val("reload!");
});
function go(){
var url = "test2.jsp?testparameter=11";
window.location.href = url;
window.name = "test2.jsp";
}
</script>
</head>
<body>
<input type="text" />
<br>
<input type="text" id="test" name="test"/>
<br><br>
<select>
<option></option>
<option>A:TEST</option>
<option>B:TEST</option>
<option>C:TEST</option>
</select>
<p>
<input type="button" value="goto-test2" οnclick="go();"/>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/json2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.easyui.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/common/showMessage.js"></script>
<script type="text/javascript">
$(function(){
alert(window.name + "___" + "reload");
});
function goBack(){
window.history.go(-1);
window.name = "test1.jsp";
}
</script>
</head>
<body>
<h1>well!!</h1>
<br>
URLPARAMETER: <%=request.getParameter("testparameter")%><br>
<input type="button" value="goBack" οnclick="goBack();"/>
</body>
</html>