<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<title>test12</title>
<script language="JavaScript" type="text/javascript">
<!--
function submitForm(command) {
	var f = document.forms["form1"];
	f.action = command;
	f.submit();
}
//-->
</script>
</head>
<body>
<form name="form1" method="post" action="">
  <label>param1
  <input name="param1" type="text" id="param1">
  </label>
  <p>
    param2
    <input name="param2" type="checkbox" value="a">
    <input name="param2" type="checkbox" value="b">
    <input name="param2" type="checkbox" value="c">
  </p>
  <p>
    <button name="btn" type="button" value="get" onClick="submitForm('test12_get.cmd');">GETメソッドでリダイレクト</button>
    <button name="btn" type="button" value="post" onClick="submitForm('test12_post.cmd');">POSTメソッドでリダイレクト</button>
  </p>
</form>
</body>
</html>
