所谓配置式开发是指“处理器类是程序员手工定义,实现了特定接口的类,然后再在SpringMVC 配置文件中对该类进行显示的、明确的注册”的开发方式。 一、处理器映射器HandlerMapping HandlerMapping接口负责根据request请求找到对应的Handler处理器及Intercep ...
分类:
编程语言 时间:
2018-03-10 17:00:13
阅读次数:
147
前言:springboot集成了主流的第三方框架,但是需要使用springboot那一套配置方式。但是我这里只列举了非常非常常用的,可以看已发的几篇博客,慢慢会补充。当然官方文档里也有相应的配置,可惜没有注释。 mvc spring.mvc.async.request-timeout设定async请 ...
分类:
编程语言 时间:
2018-03-10 15:59:30
阅读次数:
149
import urllib.request import json content=input("请输入需要翻译的内容:") url='http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule' data={} data[... ...
分类:
编程语言 时间:
2018-03-10 14:12:57
阅读次数:
199
开始学习爬虫,抓下网页源代码 import urllib.request response=urllib.request.urlopen("http://www.fishc.com") html=response.read() html=html.decode('utf-8') print(html ...
分类:
编程语言 时间:
2018-03-09 20:33:05
阅读次数:
187
#urllib=url+lib #url的一般格式:"协议://副武器的域名[:80]/path/xxx",域名端口默认80,path是文件的目录路径 import urllib.request import urllib.parse import json content=input("请输入需要... ...
分类:
编程语言 时间:
2018-03-09 19:05:24
阅读次数:
241
【前言】 今天来给大家介绍下如何使用JDBC Request跨数据库查询后引用查询的结果作为下一个JDBC Request的入参! 因为我现在所测的系统模块中部分表在不同的数据库中,所以在用JDBC Request查询数据的时候遇到了这么一个跨数据库查询的问题,现在我就来说下我今天使用的办法,希望有 ...
分类:
数据库 时间:
2018-03-09 15:07:58
阅读次数:
214
权限管理——版本1 1.完成目标: 1.获取当前请求的url: 使用 request.path_info 2.获取session中的保存的用户权限: 使用request.session.get().不能request.session[],因为可能没数据。 3.设置白名单,获取到白名单的放行数据,和用 ...
分类:
其他好文 时间:
2018-03-09 14:12:43
阅读次数:
145
一、使用Tomcat自带的Status页进行监控 修改tomcat-users.xml(tomcat安装目录下conf文件夹内) 在tomcat-users中添加代码: 修改完后重启tomcat,打开localhost:8080进入主页面;点击Server Status 输入密码后进入Server ...
分类:
其他好文 时间:
2018-03-09 12:15:00
阅读次数:
153
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
分类:
Web程序 时间:
2018-03-09 10:39:53
阅读次数:
197
https://www.youtube.com/watch?v=_MAqwd4aKtg https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/achieving-high ...
分类:
Web程序 时间:
2018-03-08 21:37:33
阅读次数:
232