Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\admin\system\ipSetting.jsp
??<%@ page contentType="text/html;charset=utf-8" %> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <style> body{font-size:14px;color:#000;background:#fff;} </style> </head> <body> <div class="crumbs tl">?????????????? >> ip??? </div> <div class="mainCon"> <s:if test="@com.chineseall.core.servlet.InitParameters@productInfoVo!=null && @com.chineseall.core.servlet.InitParameters@productInfoVo.productType.equals('10')"> <form id="ipSettingForm" name="ipSetting" action="ipSetting.action" method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="addTable"> <tr > <td width="15%">?????P??</td> <td width="85%"> <input class="textIn1" type="hidden" name="dic.entityKey" value="user.ip.settings" /> <input class="textIn1" name="dic.entityValue" id="entityValue" style="width: 90%;" value="${dic.entityValue }"/> </td> </tr> <tr > <td width="15%"></td> <td width="85%">????????<br/> 1?????????????????????;<br/> 2??p???????????????????????? * ??????192.168.0.*;<br/> 3???????????3????????p??????ip??????????????????192.168.1.*;192.168.0.*??<br/> </td> </tr> <tr > <td> </td> <td align="left"> <input type="hidden" name="dic.id" value="${dic.id}" /> <input class="searchBtn" type="button" onclick="dosubmit();" value="???" /> <font color="red"><s:property value="info" /></font> </td> </tr> </table> </form> </s:if> <s:else> ???????????????????P?????. </s:else> </div> <script type="text/javascript"> function dosubmit() { var obj = document.getElementById("entityValue"); if(obj.value=="") { alert("?????????IP??"); obj.focus(); return; } var a = obj.value.replace(/??/g,";").split(";"); if(a.length) { if(a.length>3) { alert("??????????3????????P??"); obj.focus(); return; } for(var i=0;i<a.length;i++) { var a1 = a[i].split("."); if(!a1.length || a1.length!=4 || a1[0]=="*" || a1[1]=="*" || a1[2]=="*") { alert("ip??????????????????????? * !"); return; } } } document.getElementById("ipSettingForm").submit(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de