- 博客(9)
- 收藏
- 关注
原创 shiro配置报错No SecurityManager
报错:org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This i
2013-09-10 10:43:10
2748
转载 Maven 打包时排除不想打包的文件&跳过测试
转自http://scorpio-jh.i.sohu.com/blog/view/151349557.htm存着备忘打包时不将资源文件夹下的文件打入包中 pom.xml org.apache.maven.plugins maven-war-plugin 2.0.2
2012-09-06 14:09:22
1101
原创 tomcat get和post的编码问题
http://wiki.apache.org/tomcat/FAQ/CharacterEncodingtomcat get和post的编码格式注意Filter和JSP页面上的编码限制只能控制post的tomcat默认编码格式是ISO在server.xml中修改Connector属性8080和8009URIEncoding="UTF-8" 可以统一
2012-09-04 14:55:42
380
原创 使用TOAD生成脚本
生成建库脚本1.生成建库脚本schema Browser2.打开后选择User3.右击选择create script生成建表脚本得database->export->export ddl选择要导出的表
2012-09-03 15:45:13
775
原创 spring和servlet
在servelt中取得spring注入对象的方法方法1:1、先在web.xml中定义加载applicationContext.xml的listener 2、在servlet中可用此取得User对象 WebApplicationContext ctx=WebApplicationContextUtils.getRequiredWebApplicationContext(thi
2012-08-13 11:26:26
611
原创 ApplicationContext中profile指定解读
方法一:system.setProperty,在文中指定如果ApplicationContext.xml中出现两套beans profile应该如何确定使用是哪套数据库 <context:property-placeholder ignore-unresolvable="true" location="classpath*:/application.properties"
2012-08-13 11:26:02
2300
原创 Unable to read TLD "META-INF/c.tld" from jar
tomcat6下出现此类报错org.apache.jasper.JasperException: /index.jsp(2,0) Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:/svnframe/web/WEB-INF/lib/standard-1.1.2.jar": org.apache.jasper.JasperE
2012-08-13 11:24:48
554
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人