2013年6月25日

将默认首页设置成index.do的方法

摘要: 变态欺骗法,今天csdn一个前辈的,学习了,公司服务器是weblogic的,也可以欺骗。 但是我又非常迫切、非常盼望、非常渴望使用index.do做首页,怎么办? Tomcat中用一段注释: When a request URI refers to a directory, the default servlet looks for a "welcome file" within that directory and, if present, to the corresponding resource URI for display 。 意思就是说,tomcat只要找到存在 阅读全文

posted @ 2013-06-25 15:30 hackermi 阅读(259) 评论(0) 推荐(0) 编辑

tomcat应用转到weblogic上时的问题

摘要: 昨天将一个tomcat环境下调试通过的报表demo应用发布到weblogic上做测试,结果发现好多问题。总结了一下,主要有这么几点:1、使用log4j的问题。tomcat应用直接发布到weblogic上出现错误:Cannot set web app root system property when WAR file is not expanded。WebLogic自身也包含对Log4j的支持,在打包部署(.war)的时候,会和Spring的org.springframework.web.util.Log4jConfigListener有冲突。解决方法之一就是把log4j的配置直接放到clas 阅读全文

posted @ 2013-06-25 13:44 hackermi 阅读(501) 评论(0) 推荐(0) 编辑

导航