![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java web
Miss_min
这个作者很懒,什么都没留下…
展开
-
Spring mvc 注入activemq
一、pom.xml中添加相关依赖 <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> <version>5.7.0</version> </dependency> <dependency> <group原创 2018-01-18 15:18:34 · 496 阅读 · 0 评论 -
Spring-mvc 注册定时任务
spring-mvc.xml里边注册定时任务 启动定时任务 <bean id="TaskJob" class="ftpManage.TaskJob"></bean> <task:scheduled-tasks> <task:scheduled ref="TaskJob" method="job" cron="* 0/1 * * * ?"/> </task原创 2017-12-29 15:04:09 · 319 阅读 · 0 评论 -
PageHelper插件实现服务器端分页功能
一、添加依赖 在.pom文件中添加 dependency> groupId>com.github.pagehelpergroupId> artifactId>pagehelperartifactId> version>3.5.1version> dependency> 二、添加配置 在spring-mybaits.xml文件中添加插件原创 2017-12-07 16:25:25 · 489 阅读 · 0 评论 -
SSM框架反向自动生成Mapper等
一、在pom文件中加入插件 <build> <finalName>web-ssm</finalName> <pluginManagement> <plugins> <!-- 配置Tomcat插件 --> <plugin> <groupId>org.apache.tomcat.maven</groupId>原创 2017-12-05 17:37:57 · 1558 阅读 · 0 评论 -
SpringBoot注解
@Bean等价于<Bean></Bean> @Value注入Spring boot application.properties配置的属性的值。 @ComponentScan等价于<context:component-scan base-package=”com.dxz.demo”/> @Service用于标注业务层组件、 @Controller用于标...原创 2019-08-07 10:14:23 · 337 阅读 · 0 评论