spring schedule
spring-scheduler.xml文件内容如下:
<?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/schema/beans/spring-beans-2.0.xsd">
<bean id="successRateSchedule" class="com.cmsz.visualization.schedule.SocketIOSuccessRateSchedule"></bean>
<bean id="socketIOScheduleTodayTotalData" class="com.cmsz.visualization.schedule.SocketIOScheduleTodayTotalData" />
<bean id="indexMainMapSchedule" class="com.cmsz.visualization.schedule.SocketIOMainMapSchedule"></bean>
<!-- 缴费详情任务 -->
<bean id="tMallHourDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOTMallHourSchedule" />
<bean id="tMallMonthDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOTMallMonthSchedule" />
<bean id="tMallYearDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOTMallYearSchedule" />
<bean id="moveHourDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOMoveHourSchedule" />
<bean id="moveMonthDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOMoveMonthSchedule" />
<bean id="moveYearDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOMoveYearSchedule" />
<bean id="bankHourDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOBankHourSchedule" />
<bean id="bankMonthDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOBankMonthSchedule" />
<bean id="bankYearDetailSchedule" class="com.cmsz.visualization.schedule.SocketIOBankYearSchedule" />
<!-- 签解约近24小时 -->
<bean id="contractTerminaHourSchedule" class="com.cmsz.visualization.schedule.SocketIOContractTerminaHourSchedule" />
<!-- 签解约近一月 -->
<bean id="contractTerminaMonthSchedule" class="com.cmsz.visualization.schedule.SocketIOContractTerminaMonthSchedule"/>
<!-- 签解约近一年 -->
<bean id="contractTerminaYearSchedule" class="com.cmsz.visualization.schedule.SocketIOContractTerminaYearSchedule"/>
<!-- 签约交易量查询 -->
<bean id="contractMonthTotalSchedule" class="com.cmsz.visualization.schedule.SocketIOContractMonthTotalSchedule" />
<bean id="socketIOScheduleHealth" class="com.cmsz.visualization.schedule.SocketIOScheduleHealth"/>
<bean id="socketIOSchedulePerformance" class="com.cmsz.visualization.schedule.SocketIOSchedulePerformance" />
<!-- 定义目标bean和bean中的方法 -->
<bean id="successSocketioJob"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="successRateSchedule" />
</property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>execute</value>
</property>
<!-- -->
<property name="concurrent" value="true" />
</bean>
<!--定义触发的时间 -->
<bean id="successSocketioCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="successSocketioJob" />
</property>
<!-- -->
<property name="cronExpression">
<value>0/3 * * * * ?</value>
</property>
</bean>
<!-- 管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="successSocketioCron" />
<ref local="tradingVolumeTrigger" />
</list>
</property>
</bean>
<!-- 交易量任务 -->
<bean id="tradingVolumeSchedule"
class="com.cmsz.visualization.schedule.SocketIOTradingVolumeSchedule" />
<bean id="tradingVolumeScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tradingVolumeSchedule" />
<property name="targetMethod" value="doTradingVolumeSchedule" />
<property name="concurrent" value="true" />
</bean>
<bean id="tradingVolumeTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tradingVolumeScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0/3 * * * * ?</value>
</property>
</bean>
<!-- 天猫近24小时 -->
<bean id="tMallDayScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tMallHourDetailSchedule" />
<property name="targetMethod" value="tMallDay" />
<property name="concurrent" value="true" />
</bean>
<bean id="tMallDayDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tMallDayScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 1 0-23 * * ?</value>
</property>
</bean>
<!-- 天猫近一月 -->
<bean id="tMallMonthScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tMallMonthDetailSchedule" />
<property name="targetMethod" value="tMallMonth" />
<property name="concurrent" value="true" />
</bean>
<bean id="tMallMonthDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tMallMonthScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<!-- 天猫近一年 -->
<bean id="tMallYearScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="tMallYearDetailSchedule" />
<property name="targetMethod" value="tMallYear" />
<property name="concurrent" value="true" />
</bean>
<bean id="tMallYearDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="tMallYearScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 1 */1 ?</value>
</property>
</bean>
<!-- 移动商城近24小时 -->
<bean id="moveDayScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="moveHourDetailSchedule" />
<property name="targetMethod" value="moveDay" />
<property name="concurrent" value="true" />
</bean>
<bean id="moveDayDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="moveDayScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value> 0 1 0-23 * * ?</value>
</property>
</bean>
<!-- 移动商城近一月-->
<bean id="moveMonthScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="moveMonthDetailSchedule" />
<property name="targetMethod" value="moveMonth" />
<property name="concurrent" value="true" />
</bean>
<bean id="moveMonthDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="moveMonthScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<!-- 移动商城近一年 -->
<bean id="moveYearScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="moveYearDetailSchedule" />
<property name="targetMethod" value="moveYear" />
<property name="concurrent" value="true" />
</bean>
<bean id="moveYearDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="moveYearScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 1 */1 ?</value>
</property>
</bean>
<!-- 总对总近24小时 -->
<bean id="bankDayScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="bankHourDetailSchedule" />
<property name="targetMethod" value="bankDay" />
<property name="concurrent" value="true" />
</bean>
<bean id="bankDayDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="bankDayScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 1 0-23 * * ?</value>
</property>
</bean>
<!-- 总对总近一月 -->
<bean id="bankMonthScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="bankMonthDetailSchedule" />
<property name="targetMethod" value="bankMonth" />
<property name="concurrent" value="true" />
</bean>
<bean id="bankMonthDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="bankMonthScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<!-- 总对总近一年 -->
<bean id="bankYearScheduleDetail"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="bankYearDetailSchedule" />
<property name="targetMethod" value="bankYear" />
<property name="concurrent" value="true" />
</bean>
<bean id="bankYearDetailTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="bankYearScheduleDetail" />
</property>
<!-- cron表达式 -->
<property name="cronExpression">
<value>0 0 0 1 */1 ?</value>
</property>
</bean>
<!-- 天猫近24小时 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="tMallDayDetailTrigger" />
</list>
</property>
</bean>
<!-- 天猫近一月 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="tMallMonthDetailTrigger" />
</list>
</property>
</bean>
<!-- 天猫近一年 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="tMallYearDetailTrigger" />
</list>
</property>
</bean>
<!--移动商城近24小时 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="moveDayDetailTrigger" />
</list>
</property>
</bean>
<!-- 移动商城近一月 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="moveMonthDetailTrigger" />
</list>
</property>
</bean>
<!-- 移动商城近一年 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="moveYearDetailTrigger" />
</list>
</property>
</bean>
<!-- 总对总近24小时 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="bankDayDetailTrigger" />
</list>
</property>
</bean>
<!-- 总对总近一月 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="bankMonthDetailTrigger" />
</list>
</property>
</bean>
<!-- 总对总近一年 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="bankYearDetailTrigger" />
</list>
</property>
</bean>
<!-- 今日充值总笔数与今日成交总金额定义目标bean和bean中的方法 -->
<bean id="socketioJobTodayTotalData"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="socketIOScheduleTodayTotalData" />
</property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>execute</value>
</property>
<property name="concurrent" value="true" />
</bean>
<!--今日充值总笔数与今日成交总金额定义触发的时间 -->
<bean id="socketioCronTodayTotalData" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="socketioJobTodayTotalData" />
</property>
<property name="cronExpression">
<value>0/1 * * * * ?</value>
</property>
</bean>
<!-- 今日充值总笔数与今日成交总金额管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="socketioCronTodayTotalData" />
</list>
</property>
</bean>
<!-- 跌代二 运营分析定时器 -->
<bean id="operationTotalPushSchedule"
class="com.cmsz.visualization.schedule.SocketIOTradeDataTotalSchedule"></bean>
<!-- 定义目标bean和bean中的方法 -->
<bean id="operationTotalPushSocketioJob"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="operationTotalPushSchedule" />
</property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>operationTotalPush</value>
</property>
<!-- <property name="concurrent" value="true" /> -->
</bean>
<!--定义触发的时间 -->
<bean id="operationTotalPushSocketioCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="operationTotalPushSocketioJob" />
</property>
<property name="cronExpression">
<value>5 0 0-23 * * ?</value>
</property>
</bean>
<!-- 管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="operationTotalPushSocketioCron" />
</list>
</property>
</bean>
<!--迭代三首页健康度 -->
<!--健康度定义目标bean和bean中的方法 -->
<bean id="socketioJobHealth" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject"> <ref local="socketIOScheduleHealth" /> </property>
<property name="targetMethod">
<!-- 要执行的方法名称 -->
<value>execute</value>
</property>
<property name="concurrent" value="true" />
</bean>
<!--健康度定义触发的时间 -->
<bean id="socketioCronHealth" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="socketioJobHealth" />
</property>
<property name="cronExpression">
<value>0/5 * * * * ?</value>
</property>
</bean>
<!--健康度管理触发器 -->
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list> <ref local="socketioCronHealth" /> </list>
</property>
</bean>
<!--迭代三首页性能指标 -->
<!--性能指标定义目标bean和bean中的方法 -->
<bean id="socketioJobPerformance"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref local="socketIOSchedulePerformance" />
</property>
<property name="targetMethod">
<value>execute</value>
</property>
<property name="concurrent" value="true" />
</bean>
<!--性能指标定义触发的时间 -->
<bean id="socketioCronPerformance" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="socketioJobPerformance" />
</property>
<property name="cronExpression">
<value>0/5 * * * * ?</value>
</property>
</bean>
<!--性能指标管理触发器 -->
<bean autowire="no"
class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="socketioCronPerformance" />
</list>
</property>
</bean>
<!-- indexMainMap定义目标bean和bean中的方法 -->
<bean id="indexMainMapSocketioJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="indexMainMapSchedule" />
<property name="targetMethod" value="mainMapPush" />
<property name="concurrent" value="true" />
</bean>
<!-- indexMainMap定义触发的时间 -->
<bean id="indexMainMapSocketioCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="indexMainMapSocketioJob" />
<property name="cronExpression">
<value>0/5 * * * * ?</value>
</property>
</bean>
<!-- indexMainMap管理触发器 -->
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="indexMainMapSocketioCron" />
</list>
</property>
</bean>
<!-- 签解约近24小时 -->
<bean id="contractTerminaHourJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractTerminaHourSchedule" />
<property name="targetMethod" value="execute" />
<property name="concurrent" value="true" />
</bean>
<bean id="contractTerminaHourCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTerminaHourJob" />
<property name="cronExpression">
<!-- 秒,分,小时,天,月 -->
<value>0 1 0-23 * * ?</value>
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTerminaHourCron" />
</list>
</property>
</bean>
<!-- 签解约近一月 -->
<bean id="contractTerminaMonthJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractTerminaMonthSchedule" />
<property name="targetMethod" value="execute" />
<property name="concurrent" value="true" />
</bean>
<bean id="contractTerminaMonthCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTerminaMonthJob" />
<property name="cronExpression">
<value>0 0 0 */1 * ?</value>
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTerminaMonthCron"/>
</list>
</property>
</bean>
<!-- 签解约近一年 -->
<bean id="contractTerminaYearJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractTerminaYearSchedule"></property>
<property name="targetMethod" value="execute"></property>
<property name="concurrent" value="true" />
</bean>
<bean id="contractTerminaYearCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTerminaYearJob" />
<property name="cronExpression">
<value>0 1 0 1 */1 ?</value>
<!-- <value>0/10 * * * * ?</value> -->
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTerminaYearCron"/>
</list>
</property>
</bean>
<bean id="contractTotalMonthJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="contractMonthTotalSchedule" />
<property name="targetMethod" value="execute" />
<property name="concurrent" value="true" />
</bean>
<bean id="contractTotalMonthCron" class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail" ref="contractTotalMonthJob" />
<property name="cronExpression">
<!-- 秒,分,小时,天,月 -->
<value>0 0 0 */1 * ?</value>
<!-- <value>0/3 * * * * ?</value>-->
</property>
</bean>
<bean autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref local="contractTotalMonthCron" />
</list>
</property>
</bean>
</beans>
spring schedule的更多相关文章
- SpringBoot之旅 -- 定时任务两种(Spring Schedule 与 Quartz 整合 )实现
相关文章 Spring Boot 相关文章目录 前言 最近在项目中使用到定时任务,之前一直都是使用Quartz 来实现,最近看Spring 基础发现其实Spring 提供 Spring Schedul ...
- spring schedule定时任务(一):注解的方式
我所知道的java定时任务的几种常用方式: 1.spring schedule注解的方式: 2.spring schedule配置文件的方式: 3.java类继承TimerTask: 第一种方式的实现 ...
- Spring Schedule整合配置
Spring Schedule是spring提供的任务调度框架.很简单,也很强大,简单是因为只需要在spring配置文件中写一行代码配置一下.就ok,强大是因为调度表达式.这里会给出一个网站,在线生成 ...
- SpringBoot系列:Spring Boot定时任务Spring Schedule
Spring Schedule是Spring提供的定时任务框架,相较于Quartz,Schedule更加简单易用,在中小型应用中,对于大部分需求,Schedule都可以胜任. 一.Spring Sch ...
- 任务调度(02)Spring Schedule
任务调度(02)Spring Schedule [toc] Spring 3.0 提供两种任务调度方式:一是定时任务调度:二是异步任务调度.这两种任务调度方式都是基于 JUC 实现的,是一种非常轻量级 ...
- Spring Schedule 实现定时任务
很多时候我们都需要为系统建立一个定时任务来帮我们做一些事情,SpringBoot 已经帮我们实现好了一个,我们只需要直接使用即可,当然你也可以不用 SpringBoot 自带的定时任务,整合 Quar ...
- Spring Schedule 任务调度实现
我们都知道任务调度可以用Quartz,但对于简单的定时任务,可以直接用Spring内置的Schedule来实现.可以由两种方式,注释+XML配置 注解方式: 注解也要先在sping.xml配置文件中配 ...
- spring schedule定时任务(二):配置文件的方式
接着上一篇,这里使用spring配置文件的方式生成spring定时任务. 1.相应的web.xml没有什么变化,因此便不再罗列.同样的,相应的java代码业务逻辑改动也不大,只是在原来的基础上去掉@C ...
- Spring Schedule实现定时任务
applicationContext.xml 1. 增加配置 <!-- 开启定时任务 --> <task:annotation-driven /> <!-- 开启注解 - ...
随机推荐
- 搭建vpn
之前买的vpn,对linux支持很不友好,家里装的又是ubuntu.突然一想自己买个vps搭个vpn. 先买了host1plus的vps,一个月30块,配了两天,pptp,l2tp,shadow so ...
- css - float浮动模块的高度问题 解决方案
当一个Div中的子元素都是浮动元素时,该div是没有高度的.通常会带来很多困扰,解决方案如下: 低版本统配兼容: overflow: hidden; 下面是不支持低配浏览器,而且似乎该效果对 P 标签 ...
- WordPress插件入口菜单创建的位置代码
Add_management_page() 在Tools下面创建 Add_options_page() 在Settings下面创建 Add_theme_page() 在Appearance下面创建 A ...
- Android RecyclerView的基本使用
Android RecyclerView 在去年的Google I/O大会上就推出来了,以前经常使用的ListView 继承的是AbsListView,而RecyclerView则直接继承 ViewG ...
- class-dump + DumpFrameworks.pl
目的:实现生成 private framework 的 .h,以便倒入项目使用私有 api. 一.class-dump 下载地址: http://stevenygard.com/download/ 安 ...
- QMessageBox
#include "dialog.h" #include "ui_dialog.h" #include<QMessageBox> Dialog::D ...
- T-sql创建表,插入数据
SET NOCOUNT ON; USE hibernateSqlServer GO IF OBJECT_ID('Orders') IS NOT NULL DROP TABLE Orders; GO I ...
- Centos7网络配置,vsftpd安装及530报错解决
今天在虚拟机安装CentOS7,准备全新安装LTMP,结果又是一堆问题,不过正好因为这些出错,又给自己长了见识. 1,CentOS7网络配置 最小化安装CentOs7后,ifconfig提示comma ...
- ASP.NET MVC中,怎么使用jquery/ajaxForm上传文件
ajaxForm插件最好选择:jquery forms plugin. 以下为示例: Ajax.BeginForm @using (Ajax.BeginForm("YourAction&qu ...
- 搭建springmvc的步骤
一定注意文件的层级关系 1.cope相关的jar包到web-inf/lib目录下,并添加到类路径中. 2.配置web.xml文件,配置前端控制器DisPatcherServlet <servle ...