摘要: 1.PreparedStatement是预编译的,对于批量处理可以大大提高效率. 也叫JDBC存储过程 2.使用 Statement 对象。在对数据库只执行一次性存取的时侯,用 Statement 对象进行处理。PreparedStatement 对象的开销比Statement大,对于一次性操作并不 阅读全文
posted @ 2020-11-29 17:43 zhen3 阅读(113) 评论(0) 推荐(0) 编辑
摘要: request.getParameter()方法:1.获取通过http协议提交过来的数据. 通过容器的实现来取得通过get或者post方式提交过来的数据 2.request.getParameter()方法传递的数据,会从web客户端传到web服务器端,代表HTTP请求数据,该方法返回String类 阅读全文
posted @ 2020-11-29 17:36 zhen3 阅读(905) 评论(0) 推荐(0) 编辑