摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc 阅读全文
posted @ 2013-04-25 20:48 若 ♂ 只如初见 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 一、实现拦截器需要实现Interceptor 接口:public class LoginInterceptor implements Interceptor { @Override public void destroy() { } @Override public void init() { } @Override public String intercept(ActionInvocation invocation) throws Exception { // 取得请求的URL String strUrl = ServletActionContext.getReque... 阅读全文
posted @ 2013-04-25 20:44 若 ♂ 只如初见 阅读(249) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"><struts><!-- 指定默认编码集,作用于HttpServletRequest的setCharacterEncoding 阅读全文
posted @ 2013-04-25 20:17 若 ♂ 只如初见 阅读(131) 评论(0) 推荐(0) 编辑
摘要: <!--导入easyui基础js包 -->jquery-1.7.1.min.jsjquery.easyui.min.jsjquery.cookie.jseasyui-lang-zh_CN.js 国际化easyuijs/themes/icon.css 图标样式themes/default/easyui.css 基本样式 阅读全文
posted @ 2013-04-25 20:01 若 ♂ 只如初见 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 引用: http://www.cnblogs.com/shengxiang/archive/2011/09/06/2168557.htmljQuery获取 Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项 时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text3. var che 阅读全文
posted @ 2013-04-25 09:22 若 ♂ 只如初见 阅读(233) 评论(0) 推荐(0) 编辑