<!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>test10</title>
<script language="JavaScript" type="text/javascript">
<!--
function submitForm(command, method) {
	var f = document.forms["form1"];
	f.action = command;
	f.method = method;
	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="http_get" onClick="submitForm('test10_http.cmd', 'get');">http get</button>
    <button name="btn" type="button" value="https_get" onClick="submitForm('test10_https.cmd', 'get');">https get</button><br>
    <button name="btn" type="button" value="http_post" onClick="submitForm('test10_http.cmd', 'post');">http post</button>
    <button name="btn" type="button" value="https_post" onClick="submitForm('test10_https.cmd', 'post');">https post</button>
  </p>
</form>
</body>
</html>
