📄 index.jsp
字号:
<%@ page session="false" import="com.caucho.vfs.*, com.caucho.server.webapp.*" %><%-- This is the default start page for the Resin server. You can replace it as you wish, the documentation will still be available as /resin-doc if it is installed. --%><%/** * See if the resin-doc webapp is installed */boolean hasResinDoc = false;boolean hasOrientation = false;ServletContext docApp = application.getContext("/resin-doc"); if (docApp != null) { String rp = docApp.getRealPath("index.xtp"); if (rp != null && (new java.io.File(rp)).exists()) hasResinDoc = true; if (hasResinDoc) { rp = docApp.getRealPath("orientation.xtp"); if (rp != null && (new java.io.File(rp)).exists()) hasOrientation = true; }}%><html><head><title>Resin® Default Home Page</title></head><body><h1 style="background: #ccddff">Resin® Default Home Page</h1>This is the default page for the Resin web server.<% if (hasResinDoc) { %><p>Documentation is available <a href="/resin-doc">here</a>.<p>Administration is available <a href="/resin-admin">here</a>.<% } else { %><p>The Resin documentation is normally found with the url <i><%= request.getScheme() %>://<%= request.getServerName() %>:<%= request.getServerPort() %>/resin-doc</i>, but it does not appear to be installed at that location.<% } %></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -