码迷,mamicode.com
首页 >  
搜索关键字:springmvc helloworld    ( 14264个结果
SpringMVC的请求和响应
SpringMVC的请求和响应 SpringMVC的数据响应 01-SpringMVC的数据响应-数据响应方式(理解) 页面跳转 直接返回字符串 通过ModelAndView对象返回 2) 回写数据 直接返回字符串 返回对象或集合 02-SpringMVC的数据响应-页面跳转-返回字符串形式(应用) ...
分类:编程语言   时间:2020-07-30 18:13:13    阅读次数:69
SpringMVC的文件上传
SpringMVC的文件上传 1-SpringMVC的请求-文件上传-客户端表单实现(应用) 文件上传客户端表单需要满足: 表单项type=“file” 表单的提交方式是post 表单的enctype属性是多部分表单形式,及enctype=“multipart/form-data” <form ac ...
分类:编程语言   时间:2020-07-30 18:12:41    阅读次数:81
PYNQ-有趣的连接
PYNQ社区项目 http://www.pynq.io/embedded.html PYNQ硬件加速图像缩放--实例 https://github.com/Xilinx/PYNQ-HelloWorld PYNQ-视频加速器 https://github.com/Pieter-Berteloot/PY ...
分类:其他好文   时间:2020-07-30 14:41:02    阅读次数:97
springboot集成缓存开发
一、搭建基本环境(springboot++springmvc+mybatis) 引入cache、web、mysql、mybatis模块创建工程 导入数据库文件 创建出department和employee表 创建javaBean封装数据 public class Department { priva ...
分类:编程语言   时间:2020-07-29 21:30:03    阅读次数:73
Vue 父组件调用子组件的方法
利用ref属性//父组件 <template> <div class="home"> <HelloWorld ref="mychild"></HelloWorld> <div @click="clickParent">click me</div> </div> </template> <script ...
分类:其他好文   时间:2020-07-29 14:32:24    阅读次数:53
05 图书管理系统(SSM+LayUi)
整合SpringMVC 1、在web.xml中配置前端控制器和中文乱码处理 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www ...
分类:其他好文   时间:2020-07-29 10:23:23    阅读次数:64
06 图书管理系统(SSM+LayUi)
整合spring和springmvc 1、在web.xml中添加spring监听器 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http:/ ...
分类:其他好文   时间:2020-07-29 10:18:29    阅读次数:53
记一次SpringMVC项目转Springboot项目templates和static无法访问以及WebMvcConfigurerAdapter过时失效
在这次项目升级过程中主要遇到了三个问题 1、使用Spring5.xx(或者Springboot2.xx)版本来配置WebMVC时,发现WebMvcConfigurerAdapter不能使用,查看源码后发现官方已经废弃了这个抽象类, 现在官方在源码中推荐的方式是直接实现WebMvcConfigurer ...
分类:编程语言   时间:2020-07-27 23:52:44    阅读次数:98
第一行代码Hello,World!
HelloWorld 随便新建一个文件夹,存放代码 新建一个Java文件 文件后缀名为java Hello.java 【注意点】系统可能没有显示文件后缀名,我们需要手动打开 编写代码 public class Hello{ public static void main(String[] arg){ ...
分类:其他好文   时间:2020-07-27 23:39:52    阅读次数:101
springmvc 数据交互
一、Controller相关注解 1、@Controller与@RestController注解 ①@Controller:添加在Controller 类上,指定Spring类的实例是一个控制器。 ②@RestController:添加在Controller 类上,是一个复合注解,它包含了@Cont ...
分类:编程语言   时间:2020-07-27 15:56:17    阅读次数:68
14264条   上一页 1 ... 26 27 28 29 30 ... 1427 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!