- 博客(2)
- 收藏
- 关注
原创 模仿手写SpringMVC
关键点 1、application.properties (为了简化,先不用xml) 2、package scanner 3、web.xml 配置DispatcherServlet (自己实现),contextConfigLocation 4、@Controller ,@Service ,@Autowired @RequestMapping @RequestParam 等注解 5、jett...
2019-03-25 00:06:37
153
原创 ajax跨域解决
一、跨域的出现 当前台调用后台接口是不是同一个域便出现ajax跨域。 8081的客户端访问 8080服务端接口时便出现No “Access-Control-Allow-Origin” header is present on the requested resource. Origin is therefore not allowed access. 二、为什么会发生ajax跨域? 1、浏览器限...
2019-03-24 16:25:47
95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人