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

  • 大小: 8.28MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-11-16
  • 語(yǔ)言: Java
  • 標(biāo)簽: java??jsp??

資源簡(jiǎn)介

基于Java的教材管理系統(tǒng) 下載導(dǎo)入就可以了

資源截圖

代碼片段和文件信息

/*
?*?Generated?by?MyEclipse?Struts
?*?Template?path:?templates/java/JavaClass.vtl
?*/
package?com.tjsoft.fish.actions.basic;

import?java.io.UnsupportedEncodingException;
import?java.util.HashMap;
import?java.util.List;
import?java.util.Map;

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.tjsoft.fish.domain.Textbook;
import?com.tjsoft.fish.form.basic.BookAddForm;
import?com.tjsoft.fish.service.ServiceFactory;
import?com.tjsoft.fish.util.IConstants;
import?com.tjsoft.fish.util.PageInfo;

/**
?*?MyEclipse?Struts?Creation?date:?08-02-2007
?*?
?*?XDoclet?definition:
?*?
?*?@struts.action?path=“/bookAdd“?name=“bookAddForm“
?*????????????????input=“/module/book/book001/book_add.jsp“?parameter=“method“
?*????????????????scope=“request“?validate=“true“
?*/
public?class?BookAction?extends?DispatchAction?{
/*
?*?Generated?Methods
?*/

/**
?*?Method?execute
?*?
?*?@param?mapping
?*?@param?form
?*?@param?request
?*?@param?response
?*?@return?ActionForward
?*/
public?ActionForward?add(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
BookAddForm?f?=?(BookAddForm)?form;//?
Textbook?book?=?new?Textbook();

book.setAuthor(f.getAuthor());
book.setIsbn(f.getIsbn());
book.setName(f.getName());
book.setPrice(f.getPrice());
book.setPubDate(f.getPubDate());
book.setPublisher(f.getPublisher());
book.setVersion(f.getVersion());
book.setRemark(f.getRemark());

try?{
ServiceFactory.createTextbookService().saveobject(book);
String?msg?=?f.getName()+“添加成功!“?;
request.setAttribute(“msg“msg);
}?catch?(Exception?e)?{
e.printStackTrace();
request.setAttribute(“msg“?IConstants.MSG_TimeOut);
return?mapping.findForward(“error“);

}
???????request.removeAttribute(“bookAddForm“);
return?mapping.findForward(“continue“);
}

/**
?*?Method?execute
?*?
?*?@param?mapping
?*?@param?form
?*?@param?request
?*?@param?response
?*?@return?ActionForward
?*/
public?ActionForward?delete(ActionMapping?mapping?ActionForm?form
HttpServletRequest?request?HttpServletResponse?response)?{
String?id?=?(String)request.getParameter(“id“);
int?id1?=?Integer.parseInt(id);
try?{
ServiceFactory.createTextbookService().deleteobjectById(new?Long(id1));
}?catch?(Exception?e)?{

e.printStackTrace();
request.setAttribute(“msg“?“此教材已經(jīng)不允許刪除“);
return?mapping.findForward(“error“);
}
return?mapping.findForward(“success“);
}

/**
?*?Method?execute
?*?
?*?@param?mapping
?*?@param?form
?*?@param?request
?*?@param?response
?*?@return?ActionForward
?*/
public?ActionFor

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件??????18027??2007-09-20?15:48??fish_07_10_12_20.20\Tomcat_server.xml\server.xml

?????文件????????304??2007-10-12?22:43??fish_07_10_12_20.20\Tomcat_server.xml\介紹.txt

?????文件???????1507??2007-08-12?18:35??fish_07_10_12_20.20\fish\.project

?????文件????????285??2007-10-11?14:24??fish_07_10_12_20.20\fish\.mymetadata

?????文件???????2418??2007-09-30?14:03??fish_07_10_12_20.20\fish\.classpath

?????文件????????414??2007-08-12?18:35??fish_07_10_12_20.20\fish\.myhibernatedata

?????文件????????240??2007-08-12?18:35??fish_07_10_12_20.20\fish\.mystrutsdata

?????文件???????1618??2007-09-16?21:11??fish_07_10_12_20.20\fish\WebRoot\index.jsp

?????文件???????1260??2007-10-02?23:40??fish_07_10_12_20.20\fish\WebRoot\success.jsp

?????文件???????1978??2007-08-12?18:36??fish_07_10_12_20.20\fish\WebRoot\logon.jsp

?????文件???????1283??2007-10-02?22:13??fish_07_10_12_20.20\fish\WebRoot\error.jsp

?????文件??????????0??2007-09-19?10:58??fish_07_10_12_20.20\fish\WebRoot\.error.html

?????文件?????254464??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\Thumbs.db

?????文件?????227850??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\bg.jpg

?????文件???????1300??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\biangeng.gif

?????文件??????19809??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\btn_login.jpg

?????文件????????341??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\button.gif

?????文件?????????96??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\buttonBg.gif

?????文件????????299??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\c.gif

?????文件????????662??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\calendar.gif

?????文件?????????79??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\clientIcon1.gif

?????文件?????????80??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\clientIcon2.gif

?????文件?????????79??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\clientIcon3.gif

?????文件????????121??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\copyrightBg.gif

?????文件????????281??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\copyrightLeft.gif

?????文件????????206??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\copyrightRight.gif

?????文件????????387??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\e.gif

?????文件????????868??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\hideleft.gif

?????文件???????1387??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\huxing.gif

?????文件????????184??2007-08-12?18:37??fish_07_10_12_20.20\fish\WebRoot\images\ie.gif

............此處省略738個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源