📄 _login__jsp.java
字号:
/*
* JSP generated by Resin-3.0.7 (built Wed, 24 Mar 2004 04:28:45 PST)
*/
package _jsp._talk;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.lang.Integer;
import java.util.Date;
public class _login__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
javax.servlet.http.HttpSession session = request.getSession(true);
com.caucho.server.webapp.Application _jsp_application = _caucho_getApplication();
javax.servlet.ServletContext application = _jsp_application;
com.caucho.jsp.PageContextImpl pageContext = com.caucho.jsp.QJspFactory.allocatePageContext(this, _jsp_application, request, response, "", session, 8192, true);
javax.servlet.jsp.JspWriter out = pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
response.setContentType("text/html");
try {
out.write(_jsp_string0, 0, _jsp_string0.length);
String gestnam=request.getParameter("name");
String gestsex=request.getParameter("sex");
session.setAttribute("nam0",gestnam);
session.setAttribute("sex0",gestsex);
int i=0;
int talker=0;
Object talk=null;
Object visitnam=null;
Object visitsex=null;
String talkerstr=(String)application.getAttribute("talker0");
if(talkerstr==null)
{
application.setAttribute("talker0","1");
}
else
{
talker=Integer.parseInt(talkerstr);
application.setAttribute("talker0",String.valueOf(talker+1));
}
String sentencestr=(String)session.getAttribute("sentence0");
int sentence=Integer.parseInt(sentencestr);
if(talker==0)
{
for(i=1;i<=sentence;i++)
application.setAttribute("talk"+i,"");
for(i=1;i<=sentence;i++)
application.setAttribute("visitnam"+i,"");
for(i=1;i<=sentence;i++)
application.setAttribute("visitsex"+i,"");
}
else
{
for(i=sentence;i>=2;i--)
{talk=application.getAttribute("talk"+(i-1));
application.setAttribute("talk"+i,talk);
visitnam=application.getAttribute("visitnam"+(i-1));
application.setAttribute("visitnam"+i,visitnam);
visitsex=application.getAttribute("visitsex"+(i-1));
application.setAttribute("visitsex"+i,visitsex);
}
}
application.setAttribute("visitnam1",gestnam);
application.setAttribute("visitsex1",gestsex);
String tking="";
Date dat=new Date();
String year=String.valueOf(dat.getYear()+1900);
String month=String.valueOf(dat.getMonth()+1);
String day=String.valueOf(dat.getDate());
String hour=String.valueOf(dat.getHours());
String minute=String.valueOf(dat.getMinutes());
String second=String.valueOf(dat.getSeconds());
String tim=year+"/"+month+"/"+day+" "+hour+":"+minute+":"+second;
tking="<th colspan=4 align=left>\u00bb\u00b6\u00d3\u00ad"+gestnam+gestsex+"\u00b9\u00e2\u00c1\u00d9"+tim+"</th>";
application.setAttribute("talk1",tking);
response.sendRedirect("frame.jsp");
out.write(_jsp_string1, 0, _jsp_string1.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
com.caucho.jsp.QJspFactory.freePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public java.util.ArrayList _caucho_getDependList()
{
return _caucho_depends;
}
public void _caucho_addDepend(com.caucho.make.PersistentDependency depend)
{
super._caucho_addDepend(depend);
_caucho_depends.add(depend);
}
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 1174304629)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.make.Dependency depend;
depend = (com.caucho.make.Dependency) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
com.caucho.loader.DynamicClassLoader loader;
loader = (com.caucho.loader.DynamicClassLoader) getClass().getClassLoader();
String resourcePath = loader.getResourcePathSpecificFirst();
mergePath.addClassPath(resourcePath);
_caucho_line_map = new com.caucho.java.LineMap("_login__jsp.java", "foo");
_caucho_line_map.add("/TALK/login.jsp", 9, 30);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("TALK/login.jsp"), "E36jQtSuos3kVJMQCy7PpA==", false);
_caucho_depends.add(depend);
}
private final static char []_jsp_string1;
private final static char []_jsp_string0;
static {
_jsp_string1 = "\r\n \r\n\r\n</body>\r\n</html>\r\n".toCharArray();
_jsp_string0 = "\r\n<html>\r\n<head>\r\n<title>Untitled Document</title>\r\n\r\n</head>\r\n\r\n<body>\r\n".toCharArray();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -