1.导入jar包,ssh的jar包一共是38个,此时还需要多加一个包,就是struts的注解插件jar。2.在web.xml文件中配置struts
filter 和spring 的listener。代码如下: contextConfigLocation classpath:application.....
分类:
其他好文 时间:
2014-05-20 02:14:05
阅读次数:
260
在struts2-core-2.1.8.1.jar的org.apache.struts2包下面的default.properties资源文件里可以查到常用的常量配置,这些不用刻意的记住:忘记的时候可以查询。总结长用的的常量配置如下面:
...
分类:
其他好文 时间:
2014-05-20 01:57:44
阅读次数:
355
导入commons-beanutils-1.8.3.jar及commons-logging-1.1.3.jar使用commons-beanutils-1.8.3.jar包时需要同时使用commons-logging-1.1.3.jar包,因为需要写日志。package
com.wzh.test.be...
分类:
编程语言 时间:
2014-05-20 01:37:25
阅读次数:
384
异常提示:gen already exists but is not a source folder.
Convert to a source folder or rename
it.错误原因:我在导入以前的项目的时候出现了这个异常,原因是.classpath文件(这个文件在eclipse中是看不到...
分类:
其他好文 时间:
2014-05-19 22:15:03
阅读次数:
357
QuicklinksIf you know what this isall about and
you just need the update site details:name:GNU ARM Eclipse
Plug-insURL:http://gnuarmeclipse.sourceforg...
分类:
系统相关 时间:
2014-05-17 14:44:41
阅读次数:
499
Why J-Link?In case you wonder why GNU ARM
Eclipse decided to provide support to SEGGER J-Link, the short answer is:because
ofJ-Link EDUand of SWO.The ...
分类:
其他好文 时间:
2014-05-17 14:43:56
阅读次数:
907
Eclipse 打开已存在 Android项目及常见的问题 1、 点击菜单“File”--
"Import",会弹出 Import 对话框:2, 选择“General”—“Existing Projects into Workspace”
后点击“Next”:1、 选择”Browse” 选择项目所在...
分类:
移动开发 时间:
2014-05-17 14:39:23
阅读次数:
291
QuicklinksIf you already know what are the
features of the new plug-in and just want to know how to install/use it, you can
directly skip to:J-Link in...
分类:
系统相关 时间:
2014-05-17 14:32:55
阅读次数:
890
上一篇我们讲了scala入门,但毕竟不是把他弄的跟脚本语言似的,scala宣扬的是要代替java啊,那我们就看他如何抢夺java的位置。scala常用的编辑器,见如下:Eclipse(usingoneoftwoshoddyandunstableScalaplugins)EmacsIntelliJ(basicallyjustsyntaxhighlightingsupport)TextMate..
分类:
系统相关 时间:
2014-05-16 02:26:39
阅读次数:
425
1.下载jdbc驱动:
http://dev.mysql.com/downloads/connector/j/
2.加入jdbc的jar包至项目的libs目录并build path
2.修改环境变量:export PATH=/usr/local/mysql/bin/:${PATH}
3.默认root@localhost没有密码
4.修改密码:
命令行:mysqladmin -u roo...
分类:
数据库 时间:
2014-05-16 01:37:15
阅读次数:
329