1.新建Web Project ,导入 jar 包 2.web.xml 配置Spring MVC的核心控制器DispatcherServlet、字符编码过滤器,指定Spring配置文件 ,配置ContextLoaderListener,日志文件等。 3.配置文件 (创建resources源文件夹) ...
分类:
其他好文 时间:
2019-05-19 20:49:19
阅读次数:
193
flask-restful 是 Flask 的一个用于支持 RESTful 的插件。 刚开始用对我来说还是比较坑的。。。 目录结构 / /test /test/common /__init__.py /test/resources /__init__.py /test.py __init__.py ...
分类:
其他好文 时间:
2019-05-18 20:47:04
阅读次数:
127
Colonizing the Americas via the Northwest Coast It has long been accepted that the Americas were colonized by a migration of peoples from Asia, slowly ...
分类:
其他好文 时间:
2019-05-18 18:26:58
阅读次数:
120
https://blog.csdn.net/u014044812/article/details/80641578 首先大家需要下载与你软件和版本对应的汉化包,百度云连接为:https://pan.baidu.com/s/1c1UVmPa 将 resources_zh_CN_*.jar ,放到软件安 ...
分类:
其他好文 时间:
2019-05-17 14:04:27
阅读次数:
122
Uploading Resources to the Web Resource Repository Prerequisites You have been assigned the Content Administrator role. Context You can upload Web res ...
分类:
Web程序 时间:
2019-05-17 10:51:32
阅读次数:
187
Nginx的产生 没有听过Nginx?那么一定听过它的"同行"Apache吧!Nginx同Apache一样都是一种WEB服务器。基于REST架构风格,以统一资源描述符(Uniform Resources Identifier)URI或者统一资源定位符(Uniform Resources Locato ...
分类:
其他好文 时间:
2019-05-15 16:10:08
阅读次数:
144
1)添加对themeleaf的支持的依赖 2)在resources的templates目录下新建currentTime.html th:text的含义是把值显示在当前的标签内 字符串拼接采用双竖||符号就可以 3)修改application.properties,添加如下配置 ...
分类:
编程语言 时间:
2019-05-15 11:14:52
阅读次数:
162
今天SpringBoot2整合mybatis+druid的时候出现了这个问题,其实对于这个问题,我们可以忽略,也可以解决的 解决方案: 1、在SpringBoot项目的resources目录下创建一个log4j.properties文件 2、文件中写入以下内容: log4j.rootLogger=D ...
分类:
移动开发 时间:
2019-05-13 10:40:36
阅读次数:
1407
Properties文件中存放的是key=value类型的数据,便于查看和修改,下面的方法是一种很好用的解析方法: 1、resources下新建application.properties文件 2、新增PropertiesUtil工具类,用于解析properties,如下 3、调用Propertie ...
分类:
其他好文 时间:
2019-05-12 15:36:12
阅读次数:
143
springboot对jsp支持不友好,内部tomcat对jsp不支持,需要使用外部tomcat,且必须打包为war包。 1 创建maven项目 注意:必须为war类型,否则找不到页面。 且不要把jsp页面存放在resources(原因:可能被别人访问,其次不在classes类路径中),因此,一般自 ...
分类:
编程语言 时间:
2019-05-12 15:31:39
阅读次数:
176