<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd">
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<html><head><title>인증</title></head><body>
<%
String OrderNum = request.getParameter("OrderNum"); //넘겨야 할 데이터 OrderNum
out.println(OrderNum);
%>
<form name="sendForm" method="post">
<input type="hidden" name="OrderNum" value="<%=OrderNum%>">
<input type="button" name="btn0" value="btn0" onclick="ReloadHtml()">
<input type="text" name="text0">
</form>
<script type="text/javascript">
function ReloadHtml()
{
var valb = document.getElementById("OrderNum");
valb.value=document.getElementById("text0").value;
var forms=document.getElementById("sendForm");
forms.action="NewFile1.jsp"; // OrderNum 을 받을 페이지
forms.submit();
}
</script>
</body></html>
jsp로 코딩했는데 안되네요...
구글 검색해도 똑같은 문제인 사람들은 많은데 적용해봤는데 안된는데 혹시 아시는분 있나요?