⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _post__jsp.java

📁 JSP聊天系统
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
	// "create account" page
	
	if( showAccount ) { 
		
		// if this is a registered user...
		if( !user.isAnonymous() ) {

      pageContext.write(_jsp_string38, 0, _jsp_string38.length);
      out.print(( accountButtonURL ));
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      out.print(( accountButtonImgSRC ));
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
      out.print(( accountButtonImgWidth ));
      pageContext.write(_jsp_string8, 0, _jsp_string8.length);
      out.print(( accountButtonImgHeight ));
      pageContext.write(_jsp_string31, 0, _jsp_string31.length);
      out.print(( accountButtonImgAltText ));
      pageContext.write(_jsp_string39, 0, _jsp_string39.length);
      out.print(( accountButtonURL ));
      pageContext.write(_jsp_string33, 0, _jsp_string33.length);
      out.print(( accountButtonImgAltText ));
      pageContext.write(_jsp_string15, 0, _jsp_string15.length);
      out.print(( accountButtonText ));
      pageContext.write(_jsp_string40, 0, _jsp_string40.length);
      		} else { 
      pageContext.write(_jsp_string38, 0, _jsp_string38.length);
      out.print(( loginButtonURL ));
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      out.print(( loginButtonImgSRC ));
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
      out.print(( loginButtonImgWidth ));
      pageContext.write(_jsp_string8, 0, _jsp_string8.length);
      out.print(( loginButtonImgHeight ));
      pageContext.write(_jsp_string31, 0, _jsp_string31.length);
      out.print(( loginButtonImgAltText ));
      pageContext.write(_jsp_string39, 0, _jsp_string39.length);
      out.print(( loginButtonURL ));
      pageContext.write(_jsp_string33, 0, _jsp_string33.length);
      out.print(( loginButtonImgAltText ));
      pageContext.write(_jsp_string15, 0, _jsp_string15.length);
      out.print(( loginButtonText ));
      pageContext.write(_jsp_string40, 0, _jsp_string40.length);
      		}
	}

      pageContext.write(_jsp_string1, 0, _jsp_string1.length);
      	// only show a logout button if the user is a registered user
	
	if( !user.isAnonymous() ) {

      pageContext.write(_jsp_string38, 0, _jsp_string38.length);
      out.print(( logoutButtonURL ));
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      out.print(( logoutButtonImgSRC ));
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
      out.print(( logoutButtonImgWidth ));
      pageContext.write(_jsp_string8, 0, _jsp_string8.length);
      out.print(( logoutButtonImgHeight ));
      pageContext.write(_jsp_string31, 0, _jsp_string31.length);
      out.print(( logoutButtonImgAltText ));
      pageContext.write(_jsp_string39, 0, _jsp_string39.length);
      out.print(( logoutButtonURL ));
      pageContext.write(_jsp_string33, 0, _jsp_string33.length);
      out.print(( logoutButtonImgAltText ));
      pageContext.write(_jsp_string15, 0, _jsp_string15.length);
      out.print(( logoutButtonText ));
      pageContext.write(_jsp_string41, 0, _jsp_string41.length);
      	} 
      pageContext.write(_jsp_string42, 0, _jsp_string42.length);
      	} 
      pageContext.write(_jsp_string43, 0, _jsp_string43.length);
      	if( reply ) { 
      pageContext.write(_jsp_string44, 0, _jsp_string44.length);
      out.print(( parentMessage.getSubject() ));
      pageContext.write(_jsp_string45, 0, _jsp_string45.length);
      	} else { 
      pageContext.write(_jsp_string46, 0, _jsp_string46.length);
      	} 
      pageContext.write(_jsp_string47, 0, _jsp_string47.length);
      	if( errors ) { 
      pageContext.write(_jsp_string48, 0, _jsp_string48.length);
      out.print(( errorMessage ));
      pageContext.write(_jsp_string49, 0, _jsp_string49.length);
      	} 
      pageContext.write(_jsp_string50, 0, _jsp_string50.length);
      out.print(( reply ));
      pageContext.write(_jsp_string51, 0, _jsp_string51.length);
      out.print(( (!doPost)?request.getHeader("REFERER"):referringPage ));
      pageContext.write(_jsp_string52, 0, _jsp_string52.length);
      out.print(( forumID ));
      pageContext.write(_jsp_string53, 0, _jsp_string53.length);
      out.print(( threadID ));
      pageContext.write(_jsp_string54, 0, _jsp_string54.length);
      out.print(( messageID ));
      pageContext.write(_jsp_string55, 0, _jsp_string55.length);
      	// show name and email textfields if the user is a guest
	if( user.isAnonymous() ) { 
		// try to retrieve persisted values of name and email
		String storedName = SkinUtils.retrieve(request,response,"jive.post.name");
		String storedEmail = SkinUtils.retrieve(request,response,"jive.post.email");

      pageContext.write(_jsp_string56, 0, _jsp_string56.length);
      out.print(( (storedName!=null)?storedName:"" ));
      pageContext.write(_jsp_string57, 0, _jsp_string57.length);
      out.print(( (storedEmail!=null)?storedEmail:"" ));
      pageContext.write(_jsp_string58, 0, _jsp_string58.length);
      	} 
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      	// Create the subject in the form we're going to display. If this 
	// is a new message, just a blank text field will show up. If this
	// is a reply, the subject of the old message will appear.
	String formSubject = "";
	if( reply ) {
		formSubject = parentMessage.getSubject();
		if( !formSubject.startsWith("Re: ") ) {
			formSubject = "Re: " + formSubject;
		}
	}
	else if( doPost && errors && subject != null ) {
		formSubject = subject;
	}

      pageContext.write(_jsp_string59, 0, _jsp_string59.length);
      out.print(( formSubject ));
      pageContext.write(_jsp_string60, 0, _jsp_string60.length);
      	if( reply ) { 
		// replace \r\n (windows newlines) with unix newlines (\n)
		String parentBody = parentMessage.getUnfilteredBody();
		parentBody = StringUtils.replace(parentBody,"\r\n","\n");
		parentBody = StringUtils.replace(parentBody,"\n","\\n");
		parentBody = StringUtils.replace(parentBody,"\r","");
		// replace quotes
		parentBody = StringUtils.replace(parentBody,"\"","\\\"");

      pageContext.write(_jsp_string61, 0, _jsp_string61.length);
      out.print(( SkinUtils.quoteOriginal(parentBody,">",50) ));
      pageContext.write(_jsp_string62, 0, _jsp_string62.length);
      	} 
      pageContext.write(_jsp_string63, 0, _jsp_string63.length);
      	// only show a "quote original" link if this is a reply
	if( reply ) { 
      pageContext.write(_jsp_string64, 0, _jsp_string64.length);
      	} 
      pageContext.write(_jsp_string65, 0, _jsp_string65.length);
      pageContext.write(_jsp_string66, 0, _jsp_string66.length);
      out.print(( (reply)?"回复内容":"内容" ));
      pageContext.write(_jsp_string67, 0, _jsp_string67.length);
      out.print(( (reply)?"Reply":"消息" ));
      pageContext.write(_jsp_string68, 0, _jsp_string68.length);
      out.print(( forumID ));
      pageContext.write(_jsp_string69, 0, _jsp_string69.length);
      	/////////////////////
	// page footer 

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      
/**
 *	$RCSfile: footer.jsp,v $
 *	$Revision: 1.3.2.1 $
 *	$Date: 2001/01/21 21:30:25 $
 */

      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string70, 0, _jsp_string70.length);
    } catch (java.lang.Throwable _jsp_e) {
      pageContext.handlePageException(_jsp_e);
    } finally {
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }
  }

  private com.caucho.java.LineMap _caucho_line_map;
  private java.util.ArrayList _caucho_depends = new java.util.ArrayList();

  public boolean _caucho_isModified()
  {
    if (_caucho_isDead)
      return true;
    if (com.caucho.util.CauchoSystem.getVersionId() != 2057024146)
      return true;
    for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
      com.caucho.vfs.Depend depend;
      depend = (com.caucho.vfs.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 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);
    mergePath.addClassPath(getClass().getClassLoader());
    _caucho_line_map = new com.caucho.java.LineMap("_post__jsp.java", "/forum/footer.jsp");
    _caucho_line_map.add("/e-forum/forum/post.jsp", 13, 1);
    _caucho_line_map.add("/forum/header.jsp", 20, 1);
    _caucho_line_map.add("/forum/breadcrumb.jsp", 20, 1);
    _caucho_line_map.add("/forum/toolbar.jsp", 1, 1);
    _caucho_line_map.add("/forum/footer.jsp", 9, 1);
    _caucho_line_map.add("/forum/header.jsp", 13, 17);
    _caucho_line_map.add("/forum/breadcrumb.jsp", 11, 24);
    _caucho_line_map.add("/forum/toolbar.jsp", 10, 33);
    _caucho_line_map.add("/e-forum/forum/post.jsp", 1, 57);
    _caucho_line_map.add(8, 65);
    _caucho_line_map.add(13, 66);
    _caucho_line_map.add(15, 67);
    _caucho_line_map.add(28, 81);
    _caucho_line_map.add(35, 89);
    _caucho_line_map.add(49, 104);
    _caucho_line_map.add(65, 121);
    _caucho_line_map.add(79, 136);
    _caucho_line_map.add(112, 170);
    _caucho_line_map.add(118, 177);
    _caucho_line_map.add("/forum/header.jsp", 2, 178);
    _caucho_line_map.add(13, 187);
    _caucho_line_map.add(20, 188);
    _caucho_line_map.add(116, 190);
    _caucho_line_map.add(135, 210);
    _caucho_line_map.add(136, 212);
    _caucho_line_map.add(136, 214);
    _caucho_line_map.add(136, 216);
    _caucho_line_map.add(136, 218);
    _caucho_line_map.add(136, 220);
    _caucho_line_map.add(163, 222);
    _caucho_line_map.add("D:\\resin-2.1.4\\webapps\\e-forum\\forum\\post.jsp", 119, 224);
    _caucho_line_map.add(140, 246);
    _caucho_line_map.add("/forum/breadcrumb.jsp", 2, 247);
    _caucho_line_map.add(9, 255);
    _caucho_line_map.add(11, 256);
    _caucho_line_map.add(20, 257);
    _caucho_line_map.add(22, 260);
    _caucho_line_map.add(33, 272);
    _caucho_line_map.add(33, 274);
    _caucho_line_map.add(39, 281);
    _caucho_line_map.add(57, 300);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -