/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.47
* Generated at: 2020-10-28 06:11:13 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class bloghomepage_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.release();
_005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html;charset=UTF-8");
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("<html>\r\n");
out.write("<head>\r\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n");
out.write(" <title>微博主页</title>\r\n");
out.write(" <script type=\"text/javascript\" src=\"js/ajax.js\"></script>\r\n");
out.write(" <script type=\"text/javascript\" src=\"js/json2.js\"></script>\r\n");
out.write(" <script type=\"text/javascript\" src=\"js/checkLogin.js\"></script>\r\n");
out.write(" <script type=\"text/javascript\">\r\n");
out.write(" function forwardPersonHome(blogUserId) {\r\n");
out.write(" var url = \"/blog/personVisitUserIdAction.do\";\r\n");
out.write(" Ajax\r\n");
out.write(" .request(url, \"GET\", \"userId=\" + blogUserId, \"TEXT\",\r\n");
out.write(" updateLocation);\r\n");
out.write(" }\r\n");
out.write(" function updateLocation() {\r\n");
out.write(" window.location = \"personhomepage.jsp\";\r\n");
out.write(" }\r\n");
out.write(" function updateImgSize(obj) {\r\n");
out.write(" var width = obj.style.width;\r\n");
out.write(" if (width == \"360px\") {\r\n");
out.write(" var height = $(\"main\").scrollHeight;\r\n");
out.write(" $(\"main\").scrollHeight = height - 470;\r\n");
out.write(" $(\"center\").style.height = height - 470;\r\n");
out.write(" $(\"ct_left\").style.height = height - 10 - 470;\r\n");
out.write(" $(\"ct_right\").style.height = height - 470;\r\n");
out.write(" $(\"ct_bottom\").style.marginTop = height + 30 - 470;\r\n");
out.write(" obj.style.width = \"120px\";\r\n");
out.write(" obj.style.height = \"100px\";\r\n");
out.write(" } else {\r\n");
out.write(" obj.style.width = \"360px\";\r\n");
out.write(" obj.style.height = \"300px\";\r\n");
out.write(" var height = $(\"main\").scrollHeight;\r\n");
out.write(" $(\"center\").style.height = height - 100;\r\n");
out.write(" $(\"ct_left\").style.height = height - 10 - 100;\r\n");
out.write(" $(\"ct_right\").style.height = height - 100;\r\n");
out.write(" $(\"ct_bottom\").style.marginTop = height + 30 - 100;\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write(" function init() {\r\n");
out.write(" queryBlog();\r\n");
out.write(" initRightInFo();\r\n");
out.write(" updateHeight();\r\n");
out.write(" setInterval(function() {\r\n");
out.write(" var url = \"/blog/pushBack.do\";\r\n");
out.write(" Ajax.request(url, \"GET\", null, \"TEXT\", addPushBack);\r\n");
out.write("\r\n");
out.write(" }, 5000);\r\n");
out.write(" reSize();\r\n");
out.write(" }\r\n");
out.write("\r\n");
out.write(" function addPushBack(text) {\r\n");
out.write(" if (checkLogin(text) == true) {\r\n");
out.write(" window.location = \"/blog/jsp/login.jsp\";\r\n");
out.write(" return;\r\n");
out.write(" }\r\n");
out.write(" var str = \"\";\r\n");
out.write(" if (text == \"\")\r\n");
out.write(" return;\r\n");
out.write(" var flag = text.substring(0, 1);\r\n");
out.write(" var message = text.substring(1, text.length);\r\n");
out.write(" if (flag == \"1\") {\r\n");
out.write(" $(\"pushBack\").style.display = 'inline';\r\n");
out.write(" str = \"<center><span onclick=\\\"showBlogPush();\\\">你的好友\" + message\r\n");
out.write(" + \"有更新</span></center>\";\r\n");
out.write(" $(\"pushBack\").innerHTML = str;\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write(" function showBlogPush() {\r\n");
out.write(" $(\"main\").scrollTop = 0;\r\n");
out.write(" queryBlog();\r\n");
out.write(" }\r\n");
out.write("\r\n");
out.write(" function initRightInFo() {\r\n");
out.write(" var url = \"/blog/rightUserInFo.do\";\r\n");
out.write(" Ajax.request(url, \"GET\", null, \"TEXT\", addRightInFo);\r\n");
out.write(" }\r\n
没有合适的资源?快使用搜索试试~ 我知道了~
微博,是基于用户关系的社交媒体平台,用户可以通过PC、手机等多种移动终端接入,以文字、图片、视频等多媒体形式,实现信息的即时分享、传播互动 [1] 。微博基于公开平台架构,提供简单、前所未有的方式使用户能够公开实时发表内容,通过裂变式传播,让用户与他人互动并与世界紧密相连。 [2] 作为继门户、搜索之后的互联网新入口,微博改变了信息传播的方式,实现了信息的即时分享 [3] 。发布功能:用户可以像博客、聊天工具一样发布内容 转发功能:用户可以把自己喜欢的内容一键转发到自己的微博(转发功能是对twitter RT功能的改良,保留原帖,避免在传播过程中被篡改)转发时还可以加上自己的评论。 关注功能:用户可以对自己喜欢的用户进行关注,成为这个用户的关注者(即“粉丝”)。 评论功能:用户可以对任何一条微博进行评论。(这是基于中国用户习惯而设置的特殊功能,之后Yahoo Meme 和Google Buzz也都有了评论功能) 搜索功能:用户可以用两个#号之间,插入某一话题。像这像,#某一话题XXX#,则发出的微博,可以点击这个,自动搜索微博上所有的包含有“某一话题XXX”的相关微博。可以展开讨
资源推荐
资源详情
资源评论






















收起资源包目录





































































































共 983 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论


笔触狂放
- 粉丝: 2547
- 资源: 93
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
