在context.xml中,url写成 url="jdbc:mysql://localhost:3306/fivecrowdsourcing?allowMultiQueries=true" ,可以使得sql语句中有多个insert或者update语句。