java简单图书馆管理系统.docx
《java简单图书馆管理系统.docx》由会员分享,可在线阅读,更多相关《java简单图书馆管理系统.docx(23页珍藏版)》请在第壹文秘上搜索。
1、publicStringgetNutnber(returnnumber;)publicvoidsetName(Stringname)this.name三name;)publicStringgetNacne()returnname;)publicvoidSetAuthor(Stringauthor)1this.author-author;)publicStringgetAthor(I(returnauthor;)publicvoidSetChubanshe(Stringchbanshe(this.Chubanshe-ChUbaCshe;)publicStringgetChubanshe0retu
2、rncbanshe;)publicvoidSetJiage(Stringjiage(this.jiage三jiage;JpublicStringgetJiageOreturnjiage;)publicvoidSetShuliang(Stringshuliang)this.Shu1.iang三shuliang;)publicStringgetshuliang()returnshuliang;)Userlogii1.jsp登陆界面Utilr*p9eEnc0dingr9UTF-8,i1I.PUB1.IC,-W3CDTDHTM1.4.01TM11SitionalENwfifift!-forr.name
3、三rrfor11wmethod=PoStrTaction三Iogin,登录管理界i管理员账号vtd6nb3p;nbs;4nbs;(nbs;4nbs;nbs;User1.ogin/servlet用户登录的处卉packagelibrary.database;importjav.io.IOCxception;importjava.servlet.RequestDispatcher;importjavaservlet.ServletException;importjavax.servlet.Servlet;importjava.servlet.ServletRequest;importjava.ser
4、vlet.ServletResponse;importlibrary.info.*;publicclassUser1.oginextendsServlet(privatestaticfinallongserialVersionyiD-11.;publicvoiddestroy()(super.destroy(;IlJustputsdestroy0stringinlog/Putyourcodehere)publicvoiddoGet(ServletRequestrequest,ServletResponseresponse)throwsServletException,IOExceptiondo
5、Post(request/response);)publicvoiddoPostServletRequestrequest,ServletResponseresponse)throwsServletEcetionrIOExceptionStringurlerror.jap*;response.SetContentType(teChtml);response.SetCharacterEncoding(,UTF-8);request.SetCharacterEncoding1.UTF-8);Adminuser-newAdmin();user.SetUsername(request.getParat
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- java 简单 图书馆 管理 系统