📄 _chat_0display__jsp.java
字号:
/*
* JSP generated by Resin 1.2.0 -- Wed Nov 1 07:35:54 PST 2000
*/
package _jsp._chat;
import java.io.*;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import javax.servlet.http.*;
import chat.*;
import java.util.*;
public class _chat_0display__jsp extends com.caucho.jsp.JavaPage{
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
com.caucho.jsp.ByteWriteStream _jsp_raw_out;
_jsp_raw_out = (com.caucho.jsp.ByteWriteStream) out;
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html; charset=GB2312");
try {
_jsp_raw_out.write(_jsp_string0, 0, _jsp_string0.length);
_jsp_raw_out.write(_jsp_string0, 0, _jsp_string0.length);
_jsp_raw_out.write(_jsp_string1, 0, _jsp_string1.length);
chat.UserManage UserManage;
UserManage = (chat.UserManage) pageContext.getAttribute("UserManage");
if (UserManage == null) {
UserManage = new chat.UserManage();
pageContext.setAttribute("UserManage", UserManage);
}
_jsp_raw_out.write(_jsp_string0, 0, _jsp_string0.length);
chat.MessageManage MessageManage;
MessageManage = (chat.MessageManage) pageContext.getAttribute("MessageManage");
if (MessageManage == null) {
MessageManage = new chat.MessageManage();
pageContext.setAttribute("MessageManage", MessageManage);
}
_jsp_raw_out.write(_jsp_string0, 0, _jsp_string0.length);
chat.Global Global;
synchronized (application) {
Global = (chat.Global) application.getAttribute("Global");
if (Global == null) {
Global = new chat.Global();
application.setAttribute("Global", Global);
}
}
_jsp_raw_out.write(_jsp_string1, 0, _jsp_string1.length);
String msg;
Vector vMessage=new Vector();
String id=request.getParameter("id");
String content="5; url=chat_display.jsp?id="+id;
vMessage=MessageManage.getRecentMessages(id,Global.MessageTable);
_jsp_raw_out.write(_jsp_string2, 0, _jsp_string2.length);
out.print((content));
_jsp_raw_out.write(_jsp_string3, 0, _jsp_string3.length);
if(vMessage!=null){
for(int i=0;i<vMessage.size();i++){
out.println((String)vMessage.get(i)+"<br>");
}
}
_jsp_raw_out.write(_jsp_string4, 0, _jsp_string4.length);
} catch (java.lang.Throwable e) {
pageContext.handlePageException(e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private java.util.ArrayList _caucho_depends;
private java.util.ArrayList _caucho_cache;
private com.caucho.java.LineMap _caucho_line_map;
public boolean _caucho_isModified()
{
if (com.caucho.util.CauchoSystem.getVersionId() != -1355223634)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.jsp.Depend depend;
depend = (com.caucho.jsp.Depend) _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 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);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_chat_0display__jsp.java", "/chat/chat_display.jsp");
_caucho_line_map.add(1, 1);
_caucho_line_map.add(1, 31);
_caucho_line_map.add(5, 34);
_caucho_line_map.add(6, 41);
_caucho_line_map.add(7, 48);
_caucho_line_map.add(9, 57);
_caucho_line_map.add(19, 66);
_caucho_line_map.add(23, 68);
_caucho_depends = new java.util.ArrayList();
_caucho_depends.add(new com.caucho.jsp.Depend(appDir.lookup("chat_display.jsp"), 993879292000L, 872L));
}
private static byte []_jsp_string4;
private static byte []_jsp_string3;
private static byte []_jsp_string1;
private static byte []_jsp_string2;
private static byte []_jsp_string0;
static {
try {
_jsp_string4 = "\r\n\r\n</body>\r\n</html>\r\n".getBytes("GB2312");
_jsp_string3 = ">\r\n\r\n<body>\r\n <h2><font color=blue>蓝色方向聊天室</font></h2>\r\n ".getBytes("GB2312");
_jsp_string1 = "\r\n\r\n".getBytes("GB2312");
_jsp_string2 = "\r\n<html>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<META HTTP-EQUIV=\"Refresh\" CONTENT=".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -