第一次提交
This commit is contained in:
129
tomcat/work/Catalina/localhost/wcs/org/apache/jsp/index_jsp.java
Normal file
129
tomcat/work/Catalina/localhost/wcs/org/apache/jsp/index_jsp.java
Normal file
@@ -0,0 +1,129 @@
|
||||
package org.apache.jsp;
|
||||
|
||||
import javax.servlet.*;
|
||||
import javax.servlet.http.*;
|
||||
import javax.servlet.jsp.*;
|
||||
import java.util.*;
|
||||
import java.io.*;
|
||||
|
||||
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
|
||||
implements org.apache.jasper.runtime.JspSourceDependent {
|
||||
|
||||
|
||||
String systemName = "立库监控系统";
|
||||
String user = "";
|
||||
String title = systemName + "-" + user;
|
||||
String copy = "诺力智能装备股份有限公司开发<BR> 版权所有";
|
||||
String about = user + systemName + "<BR>" + copy;
|
||||
|
||||
private void appletParameter(String name, String value, StringBuffer sb)
|
||||
{
|
||||
sb.append("<PARAM NAME=\"").append(name).append("\" VALUE=\"").append(value).append("\"/>\n");
|
||||
}
|
||||
|
||||
private static java.util.Vector _jspx_dependants;
|
||||
|
||||
public java.util.List getDependants() {
|
||||
return _jspx_dependants;
|
||||
}
|
||||
|
||||
public void _jspService(HttpServletRequest request, HttpServletResponse response)
|
||||
throws java.io.IOException, ServletException {
|
||||
|
||||
JspFactory _jspxFactory = null;
|
||||
PageContext pageContext = null;
|
||||
HttpSession session = null;
|
||||
ServletContext application = null;
|
||||
ServletConfig config = null;
|
||||
JspWriter out = null;
|
||||
Object page = this;
|
||||
JspWriter _jspx_out = null;
|
||||
PageContext _jspx_page_context = null;
|
||||
|
||||
|
||||
try {
|
||||
_jspxFactory = JspFactory.getDefaultFactory();
|
||||
response.setContentType("text/html; charset=GBK");
|
||||
pageContext = _jspxFactory.getPageContext(this, request, response,
|
||||
null, true, 8192, true);
|
||||
_jspx_page_context = pageContext;
|
||||
application = pageContext.getServletContext();
|
||||
config = pageContext.getServletConfig();
|
||||
session = pageContext.getSession();
|
||||
out = pageContext.getOut();
|
||||
_jspx_out = out;
|
||||
|
||||
out.write("\r\n");
|
||||
out.write("\r\n");
|
||||
out.write("\r\n");
|
||||
out.write("\r\n");
|
||||
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n");
|
||||
out.write("<html>\r\n");
|
||||
out.write("<head>\r\n");
|
||||
out.write("<meta http-equiv=\"Pragma\" content=\"no-cache\">\r\n");
|
||||
out.write("<meta http-equiv=\"expires\" content=\"0\">\r\n");
|
||||
out.write("<meta http-equiv=\"cache-control\" content=\"no-store\">\r\n");
|
||||
out.write("<link rel=\"Shortcut Icon\" href=\"favicon.gif\">\r\n");
|
||||
out.write("<link rel=\"Bookmark\" href=\"favicon.gif\">\r\n");
|
||||
out.write("<TITLE>");
|
||||
out.print(title);
|
||||
out.write("</TITLE>\r\n");
|
||||
out.write("</head>\r\n");
|
||||
out.write("<script language=\"javascript\">\r\n");
|
||||
out.write("function notifyAppletStarted(width, height)\r\n");
|
||||
out.write("{\r\n");
|
||||
out.write("\tdocument.getElementById(\"jnlp\").innerHTML=\"建议您使用<a href='index.jnlp'>桌面方式</a>打开\";\r\n");
|
||||
out.write("\twindow.document.applets[0].width=width;\r\n");
|
||||
out.write("\twindow.document.applets[0].height=height;\r\n");
|
||||
out.write("}\r\n");
|
||||
out.write("</script>\r\n");
|
||||
out.write("<body leftmargin=\"0\" rightmargin=\"0\" topmargin=\"0\" bottommargin=\"0\" bgColor=\"#C0C0C0\">\r\n");
|
||||
out.write("<div align=\"center\" ID=\"jnlp\"></div>\r\n");
|
||||
out.write("<div style=\"margin-top:0\" align=\"center\">\r\n");
|
||||
|
||||
String dimension = " WIDTH=800 HEIGHT=600 "
|
||||
, jre_download_url="/download/jre.exe"
|
||||
, startApplet = "com.wxzd.wcs.Main.class";
|
||||
|
||||
StringBuffer shareParameters = new StringBuffer();
|
||||
|
||||
appletParameter("cache_option", "'Plugin", shareParameters);
|
||||
appletParameter("cache_archive_ex", "WCS.jar;201903.17.13.23", shareParameters);
|
||||
appletParameter("version", "8.7", shareParameters);
|
||||
appletParameter("progressbar", "true", shareParameters);
|
||||
appletParameter("boxmessage", systemName, shareParameters);
|
||||
appletParameter("initial_focus", "true", shareParameters);
|
||||
appletParameter("floor", "1", shareParameters);
|
||||
appletParameter("showPlatformInApplet", "false", shareParameters);
|
||||
appletParameter("showMenuBarOnStockPane", "true", shareParameters);
|
||||
appletParameter("about", about, shareParameters);
|
||||
appletParameter("title", title, shareParameters);
|
||||
|
||||
out.print("<APPLET name=\"loginWindow\" TABINDEX=1");
|
||||
out.print(dimension);
|
||||
out.print("code=");
|
||||
out.print(startApplet);
|
||||
out.println(" mayscript=true scriptable=true>");
|
||||
out.print(shareParameters.toString()) ;
|
||||
out.print("您的浏览器不支持Java,请下载并安装");
|
||||
out.print("<a href=\"");
|
||||
out.print(jre_download_url);
|
||||
out.print("\">客户端Java运行环境</a>");
|
||||
out.print("</APPLET>");
|
||||
|
||||
out.write("\r\n");
|
||||
out.write("</div>\r\n");
|
||||
out.write("</body>\r\n");
|
||||
out.write("</html>\r\n");
|
||||
} catch (Throwable t) {
|
||||
if (!(t instanceof SkipPageException)){
|
||||
out = _jspx_out;
|
||||
if (out != null && out.getBufferSize() != 0)
|
||||
out.clearBuffer();
|
||||
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
|
||||
}
|
||||
} finally {
|
||||
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
tomcat/work/Catalina/localhost/wcs/tldCache.ser
Normal file
BIN
tomcat/work/Catalina/localhost/wcs/tldCache.ser
Normal file
Binary file not shown.
Reference in New Issue
Block a user