2012年6月8日
摘要: JSP<!-- 引入Ext --> <link rel="stylesheet" type="text/css" href="./extsrc/resources/css/ext-all.css" /> <link rel="stylesheet" type="text/css" href="./extsrc/resources/css/ext-extend.css" /> <script type="text/javasc 阅读全文
posted @ 2012-06-08 16:05 饭菜糖衣 阅读(379) 评论(0) 推荐(0)
摘要: 问题出现在Struts和Spring整合开发中,导致所有链接都是404情况一在Struts中配置action的spring代理时,sping配置文件中javaBean的配置使用了id 而不是name<action path="/login" scope="request" type="org.springframework.web.struts.DelegatingActionProxy" > <forward name="success" path="/manager/login.js 阅读全文
posted @ 2012-06-08 15:40 饭菜糖衣 阅读(143) 评论(0) 推荐(0)
摘要: 1、动态SQL片段通过SQL片段达到代码复用<!--动态条件分页查询--><sqlid="sql_count">select count(*)</sql><sqlid="sql_select">select *</sql><sqlid="sql_where">from icp<dynamicprepend="where"><isNotEmptyprepend="and"property="name 阅读全文
posted @ 2012-06-08 13:12 饭菜糖衣 阅读(198) 评论(0) 推荐(0)