引入标签库:<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
在界面上输出:${fn:substring(str,"0","10")} str需要截取的字符串, ”0“ 开始的位置, “10” 结束的位置
引入标签库:<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
在界面上输出:${fn:substring(str,"0","10")} str需要截取的字符串, ”0“ 开始的位置, “10” 结束的位置
kubectl config get-contexts kubectl config use-context <context-name> kubectl config current-context