91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 12.68MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-21
  • 語言: 其他
  • 標(biāo)簽: 微博項(xiàng)目??

資源簡介

微博管理系統(tǒng), 內(nèi)包含項(xiàng)目需求文檔,數(shù)據(jù)庫設(shè)計(jì)文檔(創(chuàng)建數(shù)據(jù)庫源碼),工程源代碼,項(xiàng)目答辯(PPT)

資源截圖

代碼片段和文件信息

/*
?*?Generated?by?MyEclipse?Struts
?*?Template?path:?templates/java/JavaClass.vtl
?*/
package?com.accp.action;

import?java.io.IOException;
import?java.io.PrintWriter;
import?java.util.List;

import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?javax.servlet.http.HttpSession;

import?org.apache.struts.action.ActionForm;
import?org.apache.struts.action.ActionForward;
import?org.apache.struts.action.ActionMapping;
import?org.apache.struts.actions.DispatchAction;

import?com.accp.dao.CommentDao;
import?com.accp.entity.Comment;
import?com.accp.entity.UserAndComment;
import?com.accp.form.CommentForm;

/**?
?*?MyEclipse?Struts
?*?Creation?date:?08-29-2012
?*?
?*?XDoclet?definition:
?*?@struts.action?path=“/comment“?name=“commentForm“?parameter=“method“?scope=“request“?validate=“true“
?*/
public?class?CommentAction?extends?DispatchAction?{
/*
?*?Generated?Methods
?*/

/**?
?*?Method?execute
?*?@param?mapping
?*?@param?form
?*?@param?request
?*?@param?response
?*?@return?ActionForward
?*/
//添加評論
public?ActionForward?addComment(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
CommentForm?commentForm?=?(CommentForm)?form;//?TODO?Auto-generated?method?stub
Comment?com=?commentForm.getComment();
CommentDao?cd=new?CommentDao();
int?count=cd.addComment(com);
if(count>0){
return?new?ActionForward(“/microblog.do?method=sel“);
}
return?null;
}

//查詢該條微博的評論
public?ActionForward?showComment(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
CommentForm?commentForm?=?(CommentForm)?form;//?TODO?Auto-generated?method?stub

response.setContentType(“text/xml;charset=UTF-8“);
try?{
PrintWriter?out?=?response.getWriter();

CommentDao?cd?=?new?CommentDao();

Comment?com?=?commentForm.getComment();

List?list?=?cd.getCommentList(com);

out.print(““);
for?(object?object?:?list)?{

UserAndComment?uac=(UserAndComment)object;

out.print(““);

}
out.print(“
“);

out.flush();
out.close();

}?catch?(IOException?e)?{
//?TODO?Auto-generated?catch?block
e.printStackTrace();
}

return?null;
}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????6111??2012-08-28?17:47??微博項(xiàng)目工程\new?20120828?1747.sql

?????文件????????475??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.classpath

?????文件????????295??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.externalToolBuilders\.svn\all-wcprops

?????文件????????376??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.externalToolBuilders\.svn\entries

?????文件????????551??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.externalToolBuilders\.svn\text-base\org.eclipse.wst.jsdt.core.javascriptValidator.launch.svn-base

?????文件????????551??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.externalToolBuilders\org.eclipse.wst.jsdt.core.javascriptValidator.launch

?????文件????????297??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.mymetadata

?????文件????????248??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.mystrutsdata

?????文件???????1728??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.project

?????文件????????500??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\.jsdtscope

?????文件????????516??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\.svn\all-wcprops

?????文件????????664??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\.svn\entries

?????文件????????500??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\.svn\text-base\.jsdtscope.svn-base

?????文件?????????49??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\.svn\text-base\org.eclipse.wst.jsdt.ui.superType.container.svn-base

?????文件??????????6??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\.svn\text-base\org.eclipse.wst.jsdt.ui.superType.name.svn-base

?????文件?????????49??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件??????????6??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件????????453??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.svn\all-wcprops

?????文件????????812??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.svn\entries

?????文件????????475??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.svn\text-base\.classpath.svn-base

?????文件????????297??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.svn\text-base\.mymetadata.svn-base

?????文件????????248??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.svn\text-base\.mystrutsdata.svn-base

?????文件???????1728??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\.svn\text-base\.project.svn-base

?????文件?????????77??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\.svn\all-wcprops

?????文件????????187??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\.svn\entries

?????文件?????????81??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\com\.svn\all-wcprops

?????文件????????192??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\com\.svn\entries

?????文件????????235??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\com\accp\.svn\all-wcprops

?????文件????????420??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\com\accp\.svn\entries

?????文件?????????77??2012-08-30?20:03??微博項(xiàng)目工程\WeiBoPro\src\com\accp\.svn\text-base\ApplicationResources.properties.svn-base

............此處省略2279個文件信息

評論

共有 條評論

相關(guān)資源