• 大小: 19.6M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-30
  • 语言: 其他
  • 标签: 其他  

资源简介

novelOnLine.zip

资源截图

代码片段和文件信息

package java1.nine.action;


import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;

import java1.nine.dao.UserManager ;
import java1.nine.pojo.N_user;

public class ApplyAction extends ActionSupport implements ServletRequestAware{
private UserManager userManager ;
private HttpServletRequest request;

public HttpServletRequest getRequest() {
return request;
}

public void setRequest(HttpServletRequest request) {
this.request = request;
}

public void setUserManager(UserManager userManager) {
this.userManager = userManager;
}

@Override
public void setServletRequest(HttpServletRequest arg0) {
request=arg0;

}
@Override
public String execute() throws Exception {
String name=request.getSession().getAttribute(“name“).toString();
N_user user= userManager.userInfor(name);
user.setU_author(“作者“);
userManager.update(user);
return SUCCESS;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-05-27 15:23  novelOnLine\
     文件        3271  2013-05-27 15:26  novelOnLine\.classpath
     文件           4  2013-05-27 15:23  novelOnLine\.cvsignore
     文件         446  2013-05-27 15:23  novelOnLine\.project
     文件         368  2013-05-27 15:23  novelOnLine\.tomcatplugin
     目录           0  2013-05-27 16:00  novelOnLine\src\
     目录           0  2013-05-27 15:26  novelOnLine\src\java1\
     目录           0  2013-05-27 15:26  novelOnLine\src\java1\nine\
     目录           0  2013-05-27 15:26  novelOnLine\src\java1\nine\action\
     文件        1023  2013-05-27 15:26  novelOnLine\src\java1\nine\action\ApplyAction.java
     文件       14820  2013-05-27 15:26  novelOnLine\src\java1\nine\action\BookAction.java
     文件        1005  2013-05-27 15:26  novelOnLine\src\java1\nine\action\BookInforAction.java
     目录           0  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\
     文件        1180  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\BookCmtsAction.java
     文件        1592  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\LoginAction.java
     文件         755  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\LogOut.java
     文件        3838  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\MainCommentAction.java
     文件        1357  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\MoreBookAction.java
     文件        1242  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\PublishCommentAction.java
     文件        1908  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\ReplayAction.java
     文件        2283  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\SaveCommentAction.java
     文件        1309  2013-05-27 15:26  novelOnLine\src\java1\nine\action\comment\SaveReplayAction.java
     文件        1880  2013-05-27 15:26  novelOnLine\src\java1\nine\action\GoOnAction.java
     文件        2792  2013-05-27 15:57  novelOnLine\src\java1\nine\action\HomePageAction.java
     文件        2781  2013-05-27 15:26  novelOnLine\src\java1\nine\action\JFreeChartAction.java
     文件        2962  2013-05-27 15:26  novelOnLine\src\java1\nine\action\NextBookAction.java
     文件        1819  2013-05-27 15:26  novelOnLine\src\java1\nine\action\NovelUpdateAction.java
     文件        1797  2013-05-27 15:26  novelOnLine\src\java1\nine\action\RegAction.java
     文件        1837  2013-05-27 15:26  novelOnLine\src\java1\nine\action\RenewAction.java
     文件        5289  2013-05-27 15:26  novelOnLine\src\java1\nine\action\ShopAction.java
     文件         815  2013-05-27 15:26  novelOnLine\src\java1\nine\action\UploadAction.java
............此处省略242个文件信息

评论

共有 条评论