J2EE
summerXJY100
我认为人是为要靠争一口气而活的。
展开
-
response设置编码
在java后台的Action代码或者Servlet代码中用response的方法来设置输出内容的编码方式,有以下三个方法: 1、response.setCharacterEncoding("UTF-8"); 2、response.setContentType("text/html;charset=UTF-8"); 3、response.setLocale(new ja转载 2012-09-19 16:56:33 · 484 阅读 · 0 评论 -
JSP,JS获得项目路径
JSP页面获取项目路径 /deviantART 输出 使用 调用EL表达式${ctx} JS页面获取项目路径 var pathName = window.document.location.pathname; var projectName = pathName.substring(0,pathName.sub原创 2012-10-29 15:57:24 · 678 阅读 · 0 评论 -
FlywayException Unable to check whether schema "lemon" empty
Lemon OA 1.6.1 新版本无法启动转载 2016-03-08 14:02:00 · 2361 阅读 · 0 评论 -
获取spring配置文件
读取Spring的配置文件applicationContext.xml的5种方法 1.利用ClassPathXmlApplicationContext,这种方式配置文件应该放在类包同路径下 Java代码: ApplicationContext ct=new ClassPathXmlApplicationContext("applicationContext01.xml")转载 2017-09-18 09:13:33 · 451 阅读 · 0 评论 -
Maven运行报错:-Dmaven.multiModuleProjectDirectory system propery is not set.
转载自:http://blog.csdn.net/sd4015700/article/details/44827327 eclipse中使用maven插件的时候,运行run as maven build的时候报错 设置项目的编译为JDK1.7以上 -Dmaven.multiModuleProjectDirectory system propery is not set转载 2017-09-12 10:01:00 · 236 阅读 · 0 评论