摘要: 1)vailidation中的国际化问题 ${getText("login.field.isnull"),{getText("password")}} 6 10 密码在 ${minLength} -${maxLength}位之间 ${getText("login.field.isnull"),{getText("password")}}表达式似乎不正确 阅读全文
posted @ 2013-10-23 13:53 meetcomet 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1)struts.xml /login.jsp /welcome.jsp /error.jsp 2)login.jsp4)Logon中没有验证代码5)在和Logon同一位置文件名为logon.java,建立的验证文件logon-validation.xml 账号不能为空 密码不能为空 ... 阅读全文
posted @ 2013-10-23 13:15 meetcomet 阅读(227) 评论(0) 推荐(0) 编辑
摘要: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT' at line 1原因:项目中我用的jdbc驱动版本mysql-connector-java-5.1.15.jar mysql数据库版本为5.6jdbc在连接数据库时候会发送测试语句SET OPTIONSQL_SELECT_LIMIT=DEFAUL 阅读全文
posted @ 2013-10-18 10:15 meetcomet 阅读(7082) 评论(0) 推荐(0) 编辑
摘要: cmd跳到sdk tools文件路径下adb kill-server然后再adb start-server---------------------------------------------服务没有起来。解决方法:http://blog.csdn.net/id19870510/article/details/1:今天调试android的时候发现一个诡异的问题[html]view plaincopyC:\Users\xxxx>adbstart-serveradbserverisoutofdate.killing...ADBserverdidn'tACK*failedtosta 阅读全文
posted @ 2013-09-28 22:18 meetcomet 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1)时间问题。应该采取异步的方式。或者等到百度地图加载完了再搜索。2)版本,我现在用的那个版本用mMapView.invalidate();是不行的,必须要用mMapView.refresh(); 阅读全文
posted @ 2013-09-24 12:58 meetcomet 阅读(310) 评论(0) 推荐(0) 编辑
摘要: key码错了。 阅读全文
posted @ 2013-09-24 12:55 meetcomet 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 一直没有认真对待老机房,到了不得不需要重新搞定的时候了。1)检查机器状况。2)系统需要重做。 a.机房支持PXE启动,可以采用支持PXE启动的网络对拷 b.支持USB启动,可以用USB重新做母盘。初步计划1)用USB重做系统2)安装教学系统 (管包)3)安装还原精灵4)网络对拷。 阅读全文
posted @ 2012-09-25 14:07 meetcomet 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 使用的是SQLite1.建立SQLiteOpenHelper扩展类。public class DictionaryOpenHelper extends SQLiteOpenHelper { private static final int DATABASE_VERSION = 2; private static final String DICTIONARY_TABLE_NAME = "dictionary"; private static final String DICTIONARY_TABLE_CREATE = "CREATE TABLE " + 阅读全文
posted @ 2011-10-27 11:54 meetcomet 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 删除表中多余的重复记录(多个字段),只留有rowid最小的记录delete from vitae awhere (a.peopleId,a.seq) in (select peopleId,seq from vitae group by peopleId,seq having count(*) > 1)and rowid not in (select min(rowid) from vitae group by peopleId,seq having count(*)>1)来源:http://www.cnblogs.com/jzaileen/archive/2008/08/29/1 阅读全文
posted @ 2011-10-27 09:18 meetcomet 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 在 Android 中使用 Activity, Service, Broadcast, BroadcastReceiver 活动(Activity) - 用于表现功能服务(Service) - 相当于后台运行的 Activity广播(Broadcast) -用于发送广播广播接收器(BroadcastReceiver) - 用于接收广播Intent-用于连接以上各个组件,并在其间传递消息 ------------------------------------------------------悲伤的分割线--------------------------------------------- 阅读全文
posted @ 2011-10-25 14:09 meetcomet 阅读(353) 评论(0) 推荐(0) 编辑