上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
package cn.sasa.tran01; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; public class testJDBCTran { public static ... Read More
posted @ 2019-04-01 15:38 SasaL Views(339) Comments(0) Diggs(0) Edit
jar下载地址参考:https://blog.csdn.net/qq_30062589/article/details/80224080 Read More
posted @ 2019-04-01 11:00 SasaL Views(166) Comments(0) Diggs(0) Edit
Insert title here userList = new ArrayList(); userList.add(user1); userList.add(user2); application.setAttribute("users", userList); %> ... Read More
posted @ 2019-03-29 17:23 SasaL Views(178) Comments(0) Diggs(0) Edit
刚开始看《大话设计模式》这本书,在此记录一些个人的理解,不当之处请指教。 策略模式 策略模式是对一些规则/算法的封装模式,有时候需要对一个数据根据应用场景的不同做不同的处理,为避免太多的逻辑判断,减少代码的耦合,处理的方式可以封装起来。 结构如图: 比如在本按例中,需要对收到的金额做不同的处理,1、 Read More
posted @ 2019-03-28 18:32 SasaL Views(169) Comments(0) Diggs(0) Edit
package cn.sasa.serv; import java.io.IOException; import java.sql.SQLException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.s... Read More
posted @ 2019-03-28 16:19 SasaL Views(94) Comments(0) Diggs(0) Edit
Insert title here Read More
posted @ 2019-03-28 16:17 SasaL Views(153) Comments(0) Diggs(0) Edit
package cn.sasa.serv; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import ... Read More
posted @ 2019-03-27 14:43 SasaL Views(251) Comments(0) Diggs(0) Edit
package cn.sasa.serv; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.h... Read More
posted @ 2019-03-26 18:45 SasaL Views(109) Comments(0) Diggs(0) Edit
package cn.sasa.serv; import java.io.IOException; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.Http... Read More
posted @ 2019-03-26 15:35 SasaL Views(182) Comments(0) Diggs(0) Edit
package cn.sasa.serv; import java.io.IOException; import javax.servlet.Servlet; import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; imp... Read More
posted @ 2019-03-26 15:31 SasaL Views(137) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页