資源簡介
Java仿酷狗音樂官網源碼,網頁播放器,酷狗游戲,下載客戶端,分類:樂庫,電臺,MV,資訊,美女秀場,音樂達人,推薦,排行榜,精選,好歌,搶先聽等功能
代碼片段和文件信息
package?com.tian.cotrller;
import?java.io.IOException;
import?java.io.PrintWriter;
import?javax.servlet.ServletException;
import?javax.servlet.http.HttpServlet;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;
import?javax.servlet.http.HttpSession;
import?com.tian.entity.Admins;
import?com.tian.entity.Record;
import?com.tian.service.AdminService;
import?com.tian.service.RecordService;
import?com.tian.service.impl.AdminServiceImpl;
import?com.tian.service.impl.RecordServiceImpl;
public?class?AdminLogin?extends?HttpServlet?{
/**
?*?The?doGet?method?of?the?servlet.?
?*
?*?This?method?is?called?when?a?form?has?its?tag?value?method?equals?to?get.
?*?
?*?@param?request?the?request?send?by?the?client?to?the?server
?*?@param?response?the?response?send?by?the?server?to?the?client
?*?@throws?ServletException?if?an?error?occurred
?*?@throws?IOException?if?an?error?occurred
?*/
public?void?doGet(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
response.setCharacterEncoding(“gbk“);
HttpSession?session?=?request.getSession();
PrintWriter?out?=?response.getWriter();
String?name?=?request.getParameter(“name“);
String?pwd?=?request.getParameter(“pwd“);
String?ip?=?request.getRemoteAddr();
Record?r?=?new?Record(ipname);
RecordService?rs?=?new?RecordServiceImpl();
rs.recordInfo(r);
AdminService?adminService?=?new?AdminServiceImpl();
Admins?admins?=?adminService.getAllAdminInfo(name?pwd);
boolean?result?=?false;
if(admins?!=?null){
session.setAttribute(“admins“?admins);
result?=?true;
out.print(result);
out.close();
}
}
/**
?*?The?doPost?method?of?the?servlet.?
?*
?*?This?method?is?called?when?a?form?has?its?tag?value?method?equals?to?post.
?*?
?*?@param?request?the?request?send?by?the?client?to?the?server
?*?@param?response?the?response?send?by?the?server?to?the?client
?*?@throws?ServletException?if?an?error?occurred
?*?@throws?IOException?if?an?error?occurred
?*/
public?void?doPost(HttpServletRequest?request?HttpServletResponse?response)
throws?ServletException?IOException?{
this.doGet(request?response);
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-01-06?14:48??MF000027-Java仿酷狗音樂官網源碼\
?????目錄???????????0??2018-01-06?14:48??MF000027-Java仿酷狗音樂官網源碼\KugouProject\
?????文件?????????836??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.classpath
?????文件????????1045??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.project
?????目錄???????????0??2017-08-06?02:12??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\
?????文件?????????503??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\.jsdtscope
?????文件?????????395??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\org.eclipse.jdt.core.prefs
?????文件?????????466??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\org.eclipse.wst.common.component
?????文件?????????345??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件???????64792??2016-11-18?10:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\www.9ymw.com.png
?????文件?????3621836??2015-04-27?11:29??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\國內最大的免費商業源碼下載平臺.mht
?????文件?????????247??2016-11-10?16:09??MF000027-Java仿酷狗音樂官網源碼\KugouProject\.settings\源碼說明.txt
?????目錄???????????0??2018-01-06?14:48??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\
?????文件????????3936??2013-09-01?09:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\Admin.jsp
?????文件???????18773??2013-09-01?09:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\Backstage.jsp
?????目錄???????????0??2017-08-06?02:12??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\me
?????文件??????????39??2013-09-01?09:52??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\me
?????文件???????64792??2016-11-18?10:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\me
?????文件?????3621836??2015-04-27?11:29??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\me
?????文件?????????247??2016-11-10?16:09??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\me
?????文件????????7632??2013-09-01?09:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\Register.jsp
?????文件????????4843??2013-09-01?09:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\Succeed.jsp
?????目錄???????????0??2017-08-06?02:12??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\
?????目錄???????????0??2017-08-06?02:12??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\lib\
?????文件???????17809??2013-09-01?09:56??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\lib\jstl.jar
?????文件??????446464??2013-09-01?09:55??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\lib\mysql-connector-java-3.1.12-bin.jar
?????文件??????351349??2013-09-01?10:03??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\lib\standard.jar
?????文件????????3747??2013-09-01?09:54??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\web.xm
?????文件???????64792??2016-11-18?10:53??MF000027-Java仿酷狗音樂官網源碼\KugouProject\WebContent\WEB-INF\www.9ymw.com.png
............此處省略302個文件信息
- 上一篇:10個android項目-簡單實用
- 下一篇:Java網絡爬蟲源碼
評論
共有 條評論