一、 Struts 2.x 概述不继承任何类的ActionStruts 2的Action并不一定要实现Action接口或者继承ActionSupport,任何POJO都可以做Action,只要这个Action具有public String execute()方法。Action的可执行方法execut...
分类:
编程语言 时间:
2014-08-28 10:59:49
阅读次数:
177
fnd_function.execute/app_navigate.execute介绍、区别
分类:
移动开发 时间:
2014-08-28 00:47:08
阅读次数:
253
ActiveMQ中如果使用mysql innodb的同时,开启了binlog,那么在ack消息的时候,日志里就可会报错:java.sql.SQLException: Cannot execute statement: binlogging impossible since BINLOG_FORMAT = STATEMENT and at least one table uses a storage...
分类:
数据库 时间:
2014-08-27 14:50:47
阅读次数:
2492
Sql starts to execute slowly, because long sql executions block many other sqls.Check approach:There are reports that can be generated from within man...
分类:
数据库 时间:
2014-08-27 14:30:47
阅读次数:
471
tomcat官方文档CAUTION - SSI directives can be used to execute programs external to the Tomcat JVM. If you are using the Java SecurityManager this will byp...
分类:
其他好文 时间:
2014-08-27 12:43:17
阅读次数:
290
批量修改zencart型号:品牌名称+型号格式将下面代码保存为zc_change_model.php,上传到网站根目录运行即可,操作前先备份数据库Execute($products_query);$id_array = array();while(!$products->EOF){ $id_a...
分类:
其他好文 时间:
2014-08-27 10:49:47
阅读次数:
210
唔,之前已经想过今后不动android,没想到还是因为比赛的原因重操旧业。android有很多问题是由于eclipse的不完善造成的,比如今天遇到的这个问题 Unable to execute dex: Multiple dex files define[2011-10-23 16:23:29 - Dex Loader] Unable to execute dex: Multiple dex fi...
分类:
移动开发 时间:
2014-08-26 23:02:06
阅读次数:
415
Js通过PhoneGap调用Java方法并互相传参的。一、JAVA代码写一个类,该类继承自Plugin并重写execute方法。import org.json.JSONArray;import android.app.Activity;import android.app.AlertDialog;i...
分类:
编程语言 时间:
2014-08-26 19:27:16
阅读次数:
304
C#在foreach循环中修改字典等集合出错:System.InvalidOperationException: Collection was modified; enumeration operation may not execute.这是因为在foreach中不允许修改集合,可通过如下方式修改...
分类:
其他好文 时间:
2014-08-26 17:11:46
阅读次数:
489
使用Python的MySQLdb模块连接并操作MySQL的时候,对于中文,查询时候查不出来,插入数据时候是乱码。很头疼。最后的解决办法如下:
conn = MySQLdb.connect(...)
cur = conn.cursor()
cur.execute("SET NAMES utf8;")
cur.execute("SET CHARACTER SET utf8;")
cur.exec...
分类:
数据库 时间:
2014-08-26 13:42:10
阅读次数:
246