修改获取来函调用的方法,IP类配置加入非空验证

This commit is contained in:
wangxin
2018-03-06 19:00:08 +08:00
parent b21c159fdd
commit 9e32bbdb23
8 changed files with 64 additions and 32 deletions

View File

@@ -132,7 +132,7 @@ public class ComplexStringCfgController extends BaseController{
searchBean.setTableName(tableName); searchBean.setTableName(tableName);
ComplexkeywordCfg cfg=complexStringCfgService.getStringCfgById(searchBean); ComplexkeywordCfg cfg=complexStringCfgService.getStringCfgById(searchBean);
model.addAttribute("_cfg", cfg); model.addAttribute("_cfg", cfg);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);
@@ -151,7 +151,7 @@ public class ComplexStringCfgController extends BaseController{
searchBean.setTableName(tableName); searchBean.setTableName(tableName);
ComplexkeywordCfg cfg=complexStringCfgService.getStringCfgById(searchBean); ComplexkeywordCfg cfg=complexStringCfgService.getStringCfgById(searchBean);
model.addAttribute("_cfg", cfg); model.addAttribute("_cfg", cfg);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);

View File

@@ -7,6 +7,7 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.ui.Model; import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.ModelAttribute;
@@ -132,6 +133,7 @@ public class IpCfgController extends BaseController{
return "/cfg/ipCfgForm"; return "/cfg/ipCfgForm";
} }
@RequiresPermissions("sys:cfg:edit")
@RequestMapping(value = {"updateForm"}) @RequestMapping(value = {"updateForm"})
public String updateIpCfgForm(String tableName,int action,long cfgId,String cfgName,Integer serviceId,Model model,HttpServletRequest request,HttpServletResponse response) { public String updateIpCfgForm(String tableName,int action,long cfgId,String cfgName,Integer serviceId,Model model,HttpServletRequest request,HttpServletResponse response) {
model.addAttribute("cfgName", cfgName); model.addAttribute("cfgName", cfgName);
@@ -145,7 +147,7 @@ public class IpCfgController extends BaseController{
BaseIpCfg ipCfg=ipCfgService.getIpCfgById(searchBean); BaseIpCfg ipCfg=ipCfgService.getIpCfgById(searchBean);
model.addAttribute("_cfg", ipCfg); model.addAttribute("_cfg", ipCfg);
model.addAttribute("tableName", tableName); model.addAttribute("tableName", tableName);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);
@@ -165,7 +167,7 @@ public class IpCfgController extends BaseController{
BaseIpCfg ipCfg=ipCfgService.getIpCfgById(searchBean); BaseIpCfg ipCfg=ipCfgService.getIpCfgById(searchBean);
model.addAttribute("_cfg", ipCfg); model.addAttribute("_cfg", ipCfg);
model.addAttribute("tableName", tableName); model.addAttribute("tableName", tableName);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);
@@ -320,6 +322,7 @@ public class IpCfgController extends BaseController{
* @exception * @exception
* @since 1.0.0 * @since 1.0.0
*/ */
@RequiresPermissions("sys:cfg:edit")
@RequestMapping(value = {"deleteCfg"}) @RequestMapping(value = {"deleteCfg"})
public String deleteIpCfg(String tableName,int action,long cfgId,String cfgName,Integer serviceId,Model model) { public String deleteIpCfg(String tableName,int action,long cfgId,String cfgName,Integer serviceId,Model model) {
model.addAttribute("cfgName", cfgName); model.addAttribute("cfgName", cfgName);

View File

@@ -108,7 +108,7 @@ public class NumCfgController extends BaseController{
searchBean.setCfgId(cfgId); searchBean.setCfgId(cfgId);
NumBoundaryCfg cfg=numCfgService.getNumCfgById(searchBean); NumBoundaryCfg cfg=numCfgService.getNumCfgById(searchBean);
model.addAttribute("_cfg", cfg); model.addAttribute("_cfg", cfg);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);

View File

@@ -132,7 +132,7 @@ public class StringCfgController extends BaseController{
searchBean.setTableName(tableName); searchBean.setTableName(tableName);
BaseStringCfg stringCfg=stringCfgService.getStringCfgById(searchBean); BaseStringCfg stringCfg=stringCfgService.getStringCfgById(searchBean);
model.addAttribute("_cfg", stringCfg); model.addAttribute("_cfg", stringCfg);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);
@@ -151,7 +151,7 @@ public class StringCfgController extends BaseController{
searchBean.setTableName(tableName); searchBean.setTableName(tableName);
BaseStringCfg stringCfg=stringCfgService.getStringCfgById(searchBean); BaseStringCfg stringCfg=stringCfgService.getStringCfgById(searchBean);
model.addAttribute("_cfg", stringCfg); model.addAttribute("_cfg", stringCfg);
List<RequestInfo> requestInfos=requestInfoService.getAllRequestInfo(); List<RequestInfo> requestInfos=requestInfoService.getValidRequestInfo();
model.addAttribute("requestInfos", requestInfos); model.addAttribute("requestInfos", requestInfos);
List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict(); List<ServiceDictInfo> fls=serviceDictInfoService.findAllFlDict();
model.addAttribute("fls", fls); model.addAttribute("fls", fls);

View File

@@ -6,7 +6,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">来函</label> <label class="control-label col-md-3">来函</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="requestId" data-live-search="true" data-live-search-placeholder="搜索" class="selectpicker form-control" title="--请选择--"> <select name="requestId" data-live-search="true" data-live-search-placeholder="搜索" class="selectpicker form-control" title="--请选择--">
<c:forEach items="${requestInfos}" var="requestInfo"> <c:forEach items="${requestInfos}" var="requestInfo">
<option value="${requestInfo.id}" <option value="${requestInfo.id}"
@@ -15,13 +15,14 @@
</c:forEach> </c:forEach>
</select> </select>
</div> </div>
<div for="requestId"></div>
</div> </div>
</div> </div>
<!--/span--> <!--/span-->
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">分类</label> <label class="control-label col-md-3">分类</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="classify" multiple class="selectpicker form-control" title="--请选择--"> <select name="classify" multiple class="selectpicker form-control" title="--请选择--">
<c:forEach items="${fls}" var="fl"> <c:forEach items="${fls}" var="fl">
<c:choose> <c:choose>
@@ -55,7 +56,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">性质</label> <label class="control-label col-md-3">性质</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="attribute" multiple class="selectpicker form-control" title="--请选择--"> <select name="attribute" multiple class="selectpicker form-control" title="--请选择--">
<c:forEach items="${xzs}" var="xz"> <c:forEach items="${xzs}" var="xz">
<c:choose> <c:choose>
@@ -79,7 +80,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">标签</label> <label class="control-label col-md-3">标签</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="lable" multiple class="selectpicker form-control" title="--请选择--"> <select name="lable" multiple class="selectpicker form-control" title="--请选择--">
<c:forEach items="${lables}" var="lable"> <c:forEach items="${lables}" var="lable">
<c:choose> <c:choose>
@@ -108,7 +109,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">生效范围</label> <label class="control-label col-md-3">生效范围</label>
<div class="col-md-8"> <div class="col-md-6">
<select class="form-control"> <select class="form-control">
<option>Country 1</option> <option>Country 1</option>
<option>Country 2</option> <option>Country 2</option>

View File

@@ -5,21 +5,23 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">配置描述</label> <label class="control-label col-md-3">配置描述</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="cfgDesc" value="${_cfg.cfgDesc}"> <input class="form-control" type="text" id="cfgDesc" name="cfgDesc" value="${_cfg.cfgDesc}">
</div> </div>
<div for="cfgDesc"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group">
<label class="control-label col-md-3">ip类型</label> <label class="control-label col-md-3">ip类型</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="ipType" class="selectpicker show-tick form-control" title="--请选择--"> <select name="ipType" class="selectpicker show-tick form-control" title="--请选择--">
<option value="4" <c:if test="${_cfg.ipType==4}">selected</c:if> >V4</option> <option value="4" <c:if test="${_cfg.ipType==4}">selected</c:if> >V4</option>
<option value="6" <c:if test="${_cfg.ipType==6}">selected</c:if>>V6</option> <option value="6" <c:if test="${_cfg.ipType==6}">selected</c:if>>V6</option>
</select> </select>
<!-- <input class="form-control" type="text" value="${_cfg.ipType}">--> <!-- <input class="form-control" type="text" value="${_cfg.ipType}">-->
</div> </div>
<div for="ipType"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -27,17 +29,19 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">源IP地址</label> <label class="control-label col-md-3">源IP地址</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="srcIp" value="${_cfg.srcIp}"> <input class="form-control" type="text" name="srcIp" value="${_cfg.srcIp}">
</div> </div>
<div for="srcIp"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">源地址掩码</label> <label class="control-label col-md-3">源地址掩码</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="srcIpMask" value="${_cfg.srcIpMask}"> <input class="form-control" type="text" name="srcIpMask" value="${_cfg.srcIpMask}">
</div> </div>
<div for="srcIpMask"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -45,17 +49,19 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">源端口</label> <label class="control-label col-md-3">源端口</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="srcPort" value="${_cfg.srcPort}"> <input class="form-control" type="text" name="srcPort" value="${_cfg.srcPort}">
</div> </div>
<div for="srcPort"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">源端口掩码</label> <label class="control-label col-md-3">源端口掩码</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="srcPortMask" value="${_cfg.srcPortMask}"> <input class="form-control" type="text" name="srcPortMask" value="${_cfg.srcPortMask}">
</div> </div>
<div for="srcPortMask"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -63,17 +69,19 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">目的IP地址</label> <label class="control-label col-md-3">目的IP地址</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="dstIp" value="${_cfg.dstIp}"> <input class="form-control" type="text" name="dstIp" value="${_cfg.dstIp}">
</div> </div>
<div for="dstIp"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">目的地址掩码</label> <label class="control-label col-md-3">目的地址掩码</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="dstIpMask" value="${_cfg.dstIpMask}"> <input class="form-control" type="text" name="dstIpMask" value="${_cfg.dstIpMask}">
</div> </div>
<div for="dstIpMask"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -81,17 +89,19 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">目的端口</label> <label class="control-label col-md-3">目的端口</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="dstPort" value="${_cfg.dstPort}"> <input class="form-control" type="text" name="dstPort" value="${_cfg.dstPort}">
</div> </div>
<div for="dstPort"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">目的端口掩码</label> <label class="control-label col-md-3">目的端口掩码</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="dstPortMask" value="${_cfg.dstPortMask}"> <input class="form-control" type="text" name="dstPortMask" value="${_cfg.dstPortMask}">
</div> </div>
<div for="dstPortMask"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -99,19 +109,20 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">方向</label> <label class="control-label col-md-3">方向</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="direction" class="selectpicker show-tick form-control" title="--请选择--"> <select name="direction" class="selectpicker show-tick form-control" title="--请选择--">
<option value="0" <c:if test="${_cfg.direction==0}">selected</c:if>>0</option> <option value="0" <c:if test="${_cfg.direction==0}">selected</c:if>>0</option>
<option value="1" <c:if test="${_cfg.direction==1}">selected</c:if>>1</option> <option value="1" <c:if test="${_cfg.direction==1}">selected</c:if>>1</option>
</select> </select>
<%-- <input class="form-control" type="text" name="direction" value="${_cfg.direction}"> --%> <%-- <input class="form-control" type="text" name="direction" value="${_cfg.direction}"> --%>
</div> </div>
<div for="direction"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">协议</label> <label class="control-label col-md-3">协议</label>
<div class="col-md-8"> <div class="col-md-6">
<select name="protocol" class="selectpicker show-tick form-control" title="--请选择--"> <select name="protocol" class="selectpicker show-tick form-control" title="--请选择--">
<option value="6" <c:if test="${_cfg.protocol==6}">selected</c:if>>TCP</option> <option value="6" <c:if test="${_cfg.protocol==6}">selected</c:if>>TCP</option>
<option value="17" <c:if test="${_cfg.protocol==17}">selected</c:if>>UDP</option> <option value="17" <c:if test="${_cfg.protocol==17}">selected</c:if>>UDP</option>
@@ -119,6 +130,7 @@
</select> </select>
<%-- <input class="form-control" type="text" name="protocol" value="${_cfg.protocol}"> --%> <%-- <input class="form-control" type="text" name="protocol" value="${_cfg.protocol}"> --%>
</div> </div>
<div for="protocol"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -126,15 +138,15 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">协议ID</label> <label class="control-label col-md-3">协议ID</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="protocolId" value="${_cfg.protocolId}" readonly="readonly"> <input class="form-control" type="text" name="protocolId" value="${_cfg.protocolId}" readonly="readonly">
</div> </div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">管控类型</label> <label class="control-label col-md-3">管控类型</div>
<div class="col-md-8"> <div class="col-md-6">
<select name="action" class="selectpicker select2 form-control" readonly="readonly"> <select name="action" class="selectpicker select2 form-control" readonly="readonly">
<option value="1" <c:if test="${_cfg.action==1}">selected</c:if><c:if test="${_cfg.action!=1}">disabled="disabled"</c:if> >阻断</option> <option value="1" <c:if test="${_cfg.action==1}">selected</c:if><c:if test="${_cfg.action!=1}">disabled="disabled"</c:if> >阻断</option>
<option value="2" <c:if test="${_cfg.action==2}">selected</c:if><c:if test="${_cfg.action!=2}">disabled="disabled"</c:if> >监测</option> <option value="2" <c:if test="${_cfg.action==2}">selected</c:if><c:if test="${_cfg.action!=2}">disabled="disabled"</c:if> >监测</option>
@@ -152,7 +164,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3">是否区域管控</label> <label class="control-label col-md-3">是否区域管控</label>
<div class="col-md-8"> <div class="col-md-6">
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="isAreaEffective" value="1" <input type="radio" name="isAreaEffective" value="1"
<c:if test="${_cfg.isAreaEffective==1}">checked</c:if> <c:if test="${_cfg.isAreaEffective==1}">checked</c:if>
@@ -165,14 +177,16 @@
</label> </label>
<%-- <input class="form-control" type="text" name="isAreaEffective" value="${_cfg.isAreaEffective}"> --%> <%-- <input class="form-control" type="text" name="isAreaEffective" value="${_cfg.isAreaEffective}"> --%>
</div> </div>
<div for="isAreaEffective"></div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div class="form-group "> <div class="form-group ">
<label class="control-label col-md-3">区域生效id</label> <label class="control-label col-md-3">区域生效id</label>
<div class="col-md-8"> <div class="col-md-6">
<input class="form-control" type="text" name="areaEffectiveIds" value="${_cfg.areaEffectiveIds}"> <input class="form-control" type="text" name="areaEffectiveIds" value="${_cfg.areaEffectiveIds}">
</div> </div>
<div for="areaEffectiveIds"></div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -61,7 +61,7 @@
<label class="control-label col-md-3">表达式类型</label> <label class="control-label col-md-3">表达式类型</label>
<div class="col-md-8"> <div class="col-md-8">
<label class="radio-inline"> <label class="radio-inline">
<input type="radio" name="exprType " value="1" <input type="radio" name="exprType" value="1"
<c:if test="${_cfg.exprType==1}">checked</c:if> <c:if test="${_cfg.exprType==1}">checked</c:if>
>与表达式 >与表达式
</label> </label>

View File

@@ -5,6 +5,20 @@
<title><spring:message code="${cfgName}"></spring:message></title> <title><spring:message code="${cfgName}"></spring:message></title>
<link href="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet"/> <link href="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet"/>
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/bootstrap-select.min.js"></script> <script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/bootstrap-select.min.js"></script>
<c:choose>
<c:when test="${cookie.Language.value eq 'zh_CN'}">
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-zh_CN.min.js"></script>
</c:when>
<c:when test="${cookie.Language.value eq 'en'}">
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-en_US.min.js"></script>
</c:when>
<c:when test="${cookie.Language.value eq 'ru_RU'}">
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-ru_RU.min.js"></script>
</c:when>
<c:otherwise>
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-en_US.min.js"></script>
</c:otherwise>
</c:choose>
<script> <script>
$(document).ready(function() { $(document).ready(function() {