推荐
专栏
教程
课程
飞鹅
本次共找到1830条
spring拦截器
相关的信息
Easter79
•
4年前
spring集成mongodb
对于mongodb的引用,spring有对应的封装包。<dependency<groupIdorg.springframework.data</groupId<artifactIdspringdatamongodb</artifactId
Easter79
•
4年前
springboot分环境打包(maven动态选择环境)
分环境打包核心点:spring.profiles.activepom.xml中添加:<profiles<profile<iddev</id<activation<activeByDefaulttrue</activeB
Stella981
•
4年前
SpringBoot 实现前后端分离的跨域访问(CORS)
社区原文链接:http://www.spring4all.com/article/177(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.spring4all.com%2Farticle%2F177)序言:跨域资源共享向来都是热门的需求,使用CORS可以帮助我们快速实现跨域
Stella981
•
4年前
Spring Boot中使用JavaMailSender发送邮件
相信使用过Spring的众多开发者都知道Spring提供了非常好用的JavaMailSender接口实现邮件发送。在SpringBoot的Starter模块中也为此提供了自动化配置。下面通过实例看看如何在SpringBoot中使用JavaMailSender发送邮件。快速入门在SpringBoot的工程中的pom.xm
Wesley13
•
4年前
Spring
TheRestTemplateisthecoreclassforclientsideaccesstoRESTfulservices.ItisconceptuallysimilartoothertemplateclassesinSpring,suchasJdbcTemplateandJmsTemplat
Wesley13
•
4年前
3.ibatis4种事务类型浅析
ibatis中Transaction有四个实现类其中spring的SqlMapClientFactoryBean类中privateClasstransactionConfigClassExternalTransactionConfig.class;publicSqlMapClientFactoryBean(){this
Easter79
•
4年前
Spring容器中Bean的作用域
当通过Spring容器创建一个Bean实例时,不仅可以完成Bean实例的实例化,还可以为Bean指定特定的作用域。Spring支持如下5种作用域:singleton:单例模式,在整个SpringIoC容器中,使用singleton定义的Bean将只有一个实例prototype:原型模式,每次通过容器
Stella981
•
4年前
Spring Bean定义中表达式语言的支持
SpEL(SpringExpressionLanguage,Spring表达式语言)的一个重要的作用就是扩展Spring容器的功能,允许在Bean定义中使用SpEL。XML配置文件和Annotation中都可以使用SpEL。在XML和Annotation中使用SpEL时,都需要使用{expression}的格式来包装表达式。 例如
Wesley13
•
4年前
JAVA 写入数据到LDAP
Spring操作LDAP增加依赖<dependency<groupIdorg.springframework.ldap</groupId<artifactIdspringldapcore</artifactId<version2.1.0.RELEASE</versi
Easter79
•
4年前
SpringBoot几个重要的事件回调、监听机制
(1)、需要配置在METAINF/Spring.factories 1.ApplicationContextInitializer1//2//Sourcecoderecreatedfroma.classfilebyIntelliJIDEA3//(poweredbyFernflowe
1
•••
28
29
30
•••
183