原创 Spring配置web.xml的標籤

在web.xml中配置 <servlet> <servlet-name>citic</servlet-name> <servlet-class>org.springframework.web.servlet.Dis

原创 Spring配置web.xml中標籤(ContextLoaderListener類解析)解析

在web.xml中配置 <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

原创 Spring 標籤解析——

在xml定義的Aop相關的bean一般是像這樣: <aop:aspectj-autoproxy proxy-target-class="true" /> <bean id="afterUpdateBlHandler"

原创 Spring 配置 工程Web.xml中encodingFilter

在web.xml中的配置如下 <filter> <filter-name>encodingFilter</filter-name> <filter-class>org.springframework.web.filt

原创 Spring IOC-BeanFactory的繼承體系結構

本文主要介紹BeanFactory以及它的各種繼承層級的接口、抽象類及實現類,因爲內容很多,所以這裏不介紹ApplicationContext繼承體系下的類(雖然ApplicationContext本質上也是BeanFactory,但是畢

原创 Spring IOC-WebApplicationContext繼承結構

WebApplicationContext繼承自ApplicationContext,所以ApplicationContext有的功能這個類都會有,那麼本文主要介紹一下這個體系類獨有的功能。 還是看接口中聲明的方法,發現主要多了一個方法

原创 Spring配置web.xml的<servlet>標籤

在web.xml中配置 <servlet> <servlet-name>citic</servlet-name> <servlet-class>org.springframework.web.servlet.Dispatc

原创 Spring 標籤解析——<AOP>

在xml定義的Aop相關的bean一般是像這樣: <aop:aspectj-autoproxy proxy-target-class="true" /> <bean id="afterUpdateBlHandler" clas

原创 在JSP前臺和後臺傳遞參數亂碼彙總

1、後臺通過response.sendRedirect的方式直接將中文以參數的形式傳遞到前臺,在前臺得到參數亂碼。 解決辦法:對sendRedirect地址中URL中傳遞的中文參數進行轉碼,URLEncoder.encode(retur