2021
01-13
01-13
SpringBoot里使用Servlet进行请求的实现示例
首先,在main方法的类上添加注解:@ServletComponentScan(basePackages="application.servlet")示例代码:packageapplication;importio.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;importjavafx.application.Application;importjavafx.fxml.FXMLLoader;importorg.mybatis.spring.annotation.MapperScan;importorg.springframework.boot.SpringApplication;importorg.springframework.boot.autoconfig...
继续阅读 >