java
炸地瓜
这个作者很懒,什么都没留下…
展开
-
mybatis批量更新和插入
mybatis批量更新:修改数据库连接配置的url对db.properties中的url进行修改,添加allowMultiQueries=true:url=jdbc:mysql://localhost:3306/test?allowMultiQueries=truemapper.xml中设置为: update user_c翻译 2016-07-22 23:37:00 · 277 阅读 · 0 评论 -
springmvc中配置web.xml的问题
springmvc配置web.xml:xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun原创 2016-07-23 11:17:48 · 226 阅读 · 0 评论 -
使用socket编程
服务器端代码:public class SocketServerTest { public static void main(String[] args) throws IOException { while (true) { ServerSocket ss = new ServerSocket(1234); Socket accept = ss.accept(); I翻译 2016-07-23 13:27:39 · 146 阅读 · 0 评论