<%@ page contentType="text/html;charset=GBK" %>
<html>
<head>
<title>验证IP</title>
<script language="JavaScript" src="js/checkdata.js"></script>
</head>

<body>

<form method="POST" action="action_checkip.jsp" OnSubmit="return isIP(document.forms[0].IP.value)">
  　<p>IP地址：<input type="text" name="IP" size="34">
  <p><input type="submit" value="提交">
</form>

</body>

</html>