jsp提交iframe内容的问题
abc1.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN ">
<HTML>
<HEAD>
<%@ page
language= "java "
contentType= "text/html; charset=GB18030 "
pageEncoding= "GB18030 "
%>
<META http-equiv= "Content-Type " content= "text/html; charset=GB18030 ">
<META name= "GENERATOR " content= "IBM WebSphere Studio ">
<META http-equiv= "Content-Style-Type " content= "text/css ">
<LINK href= "../theme/Master.css " rel= "stylesheet " type= "text/css ">
<TITLE> abc1.jsp </TITLE>
</HEAD>
<BODY>
<form name= "id1 " method= "psot "> <INPUT type= "checkbox " name= "id " value= "5 "> aaa <BR>
<INPUT type= "checkbox " name= "id " value= "1 "> bbb <BR>
<INPUT type= "checkbox " name= "id " value= "2 "> vvv <BR>
<INPUT type= "checkbox " name= "id " value= "3 "> ccc <BR>
<INPUT type= "checkbox " name= "id " value= "4 "> ddd
</form>
</BODY>
</HTML>
abc2.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN ">
<HTML>
<HEAD>
<%@ page
language= "java "
contentType= "text/html; charset=GB18030 "
pageEncoding= "GB18030 "
%>
<META http-equiv= "Content-Type " content= "text/html; charset=GB18030 ">
<META name= "GENERATOR " content= "IBM WebSphere Studio ">
<META http-equiv= "Content-Style-Type " content= "text/css ">
<LINK href= "../theme/Master.css " rel= "stylesheet " type= "text/css ">
<script language=javascript>
function s_ok()
{
document.form1.id.value=Composition.id1.id.value;
return true;
}
</script>
<TITLE> abc2.jsp </TITLE>
</HEAD>
<BODY>
<form action= "abc3.jsp " method= "post " name= "form1 " onsubmit= "return s_ok() ">
<input type=hidden name= "id " value= " ">
<IFRAME src= "abc1.jsp " width= "187 " height= "%100 " name=Composition
frameborder= "no " MARGINWIDTH= "0 " MARGINHEIGHT= "0 " SCROLLING= "no "> </IFRAME>
</from> <BR>
<INPUT type= "submit " name= "tj " value= "提交 "> </BODY>
</HTML>
abc3.jsp