<%
ServletContext caContext = getServletContext().getContext("/ca");
if (caContext != null) {
String caName = caContext.getServletContextName();
String caPath = caContext.getContextPath();
if (!"".equals(caPath)) {
%>
<%= caName %>
<%
}
}
ServletContext kraContext = getServletContext().getContext("/kra");
if (kraContext != null) {
String kraName = kraContext.getServletContextName();
String kraPath = kraContext.getContextPath();
if (!"".equals(kraPath) && request.isSecure()) {
%>
<%= kraName %>
<%
}
}
ServletContext ocspContext = getServletContext().getContext("/ocsp");
if (ocspContext != null) {
String ocspName = ocspContext.getServletContextName();
String ocspPath = ocspContext.getContextPath();
if (!"".equals(ocspPath) && request.isSecure()) {
%>
<%= ocspName %>
<%
}
}
ServletContext tksContext = getServletContext().getContext("/tks");
if (tksContext != null) {
String tksName = tksContext.getServletContextName();
String tksPath = tksContext.getContextPath();
if (!"".equals(tksPath) && request.isSecure()) {
%>
<%= tksName %>
<%
}
}
ServletContext tpsContext = getServletContext().getContext("/tps");
if (tpsContext != null) {
String tpsName = tpsContext.getServletContextName();
String tpsPath = tpsContext.getContextPath();
if (!"".equals(tpsPath) && request.isSecure()) {
%>
<%= tpsName %>
<%
}
}
%>
|