E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
RequestMethod
easypoi的多sheet页导入与导出
cn.afterturneasypoi-base3.0.3cn.afterturneasypoi-web3.0.3cn.afterturneasypoi-annotation3.0.3环境:SSM,jdk1.8一、多sheet页导入,看注释@RequestMapping(value="/excelImport",method=
RequestMethod
.POST
gzc_870301
·
2020-08-04 14:13
java
#
后端插件
#
easypoi
Activiti开发案例之生成实时流程图
SpringBoot1.5.10activiti-spring-boot-starter-basic6.0生成代码以下是简化代码:/***查看实例流程图,根据流程实例ID获取流程图*/@RequestMapping(value="traceprocess/{instanceId}",method=
RequestMethod
不是太高的手
·
2020-08-04 10:45
django url 正则匹配
Pagenotfound(404)
RequestMethod
:GETRequestURL:http://192.168.137.3:8000/articles/2018UsingtheURLconfdefinedinmysite.urls
zhaoyangjian724
·
2020-08-04 09:59
Django1.8文档
读取并显示mysql中的BLOB图片
项目需要将存入mysql数据库中的图片显示出来,Controller中方法如下:@RequestMapping(value="/showPicture.do",method=
RequestMethod
.GET
程序猿的编程日记
·
2020-08-04 08:06
Mysql
springboot实现上传图片到服务器,前端及java后台代码总结
后台代码@RequestMapping(value=“/image/save-test”,method=
RequestMethod
.POST)@ResponseBodypublicJsonResultupLoadImg
码上代码
·
2020-08-04 07:52
JavaWeb
Spring参数校验--List类型参数校验
//控制器@RequestMapping(value="/saveVideo",method=
RequestMethod
.POST)@ResponseBodypublicListsaveVideo(@Validated
la_ture
·
2020-08-04 06:18
Spring临床经验
JSP读取Oracle数据库里的图片Blob字段并显示在页面上
paramrequest4*@paramresp5*@paramid6*@return7*@throwsException8*/9@RequestMapping(value="jzgx/getImage",method=
RequestMethod
.GET
weixin_30781775
·
2020-08-04 04:17
控制层跳转:1)调用别人接口;2)指定页面
RESTFul接口中调用重定向到指定url@RequestMapping(value="sso",method=
RequestMethod
.GET)publicvoidsso(HttpServletRequestrequest
weixin_30300523
·
2020-08-04 03:04
spring cloud 中使用RestTemplate Post请求遇到的坑
要调用的接口服务名:TestA@RequestMapping(value="/hi",method=
RequestMethod
.POST)@ResponseBodypublicStringhi(@RequestParamStringserviceName
涛哥是个大帅比
·
2020-08-04 02:38
Spring
springboot图片用二进制byte[]存放数据库,进行读取
@RequestMapping(value="/{id}",method=
RequestMethod
.GET)publicvoidgetPhotoById(@PathVariable("id")Integerid
龚艺洋
·
2020-08-04 00:09
spring
解决一种类型的RestTemplate乱码和json转bean的问题
B:server端代码如下(基于springmvc):@RequestMapping(value="/server.json",method=
RequestMethod
.POST)@ResponseBodypublicStringserver
一言不合
·
2020-08-04 00:24
spring
restTemplate
后端-框架-Spring MVC-FastJSON对象中文乱码问题
application/json的charset修改同时value="/view.html"中去掉html以免响应的报文与请求的报文不一致@RequestMapping(value="/view",method=
RequestMethod
.GET
CaediosViolet
·
2020-08-03 23:13
后端
框架
Spring
web图片上传和数据库取出Blob传到页面显示图片
@RequestMapping(value="insertReagent",method=
RequestMethod
.POST)@ResponseBodypublicIntegerinsertReagent
靛哩昵称
·
2020-08-03 22:24
数据库-记录
HttpClient方式调用接口的实例
/***测试调用第三方接口*/@RequestMapping(value="/test",method=
RequestMethod
.POST,produces="application/json;charset
名字叫孙冉
·
2020-08-03 22:53
java
技术
java前后端分离怎么生成图形验证码
commons-codec.jarcommons-codeccommons-codec1.92.控制层/***响应图形验证码页面*@return*/@RequestMapping(value="/createValidateCode",method=
RequestMethod
.GET
我~不想努力了
·
2020-08-03 22:34
java
springboot 读取Blob 解析成文件
paramid*@return*@throwsIOException*/@SuppressWarnings("unused")@RequestMapping(value="/download",method=
RequestMethod
.GET
Augustvicc
·
2020-08-03 21:37
Activiti6自学之路(八)——查看流程图
Activiti提供了查看流程图功能,可以看到指定流程进度//查看流程图@RequestMapping(value="/image",method=
RequestMethod
.GET)publicvoidimage
互联网叫兽
·
2020-08-03 21:42
Activiti
工作流
SpringBoot框架使用(两种携带参数的get接口开发)
key1=value1&key2=value2@RequestMapping(value="/get/with/param",method=
RequestMethod
.GET) publicMapgetList
油焖茄子
·
2020-08-03 21:40
Java
Spring
Boot
后台根据地址传输二进制流,前台显示图片
1、后台@RequestMapping(value="/getPicPathByPicId/{picId}",method=
RequestMethod
.GET)@ResponseBodypublicResponseEntitygetPicStream
哎哟喂呵呵哒
·
2020-08-03 21:10
后端
前端
Java微信公众号服务器配置/硬件平台服务器配置-验证Token
重点内容服务器地址URL(一定要外网能访问的到),这里说一下,这个地址我个人是用method=
RequestMethod
.GET做了区分我这里的地址是:https://service.dinge
道友请留步。
·
2020-08-03 21:22
java微信平台开发
判断账户名称不重复
用作展示的vo*@paramresult*@paramredirectAttributes*@parammodel*@return*/@RequestMapping(value="add",method=
RequestMethod
.POST
nizhengjia888
·
2020-08-03 20:56
判断名称不重复
SpringBoot + 原生Ajax的文件流下载:blob和responseType='arrayBuffer'的关系
1.SpringBoot服务返回文件流@ResponseBody@RequestMapping(value="/exportKucunList",method=
RequestMethod
.POST)publicbyte
太古时代
·
2020-08-03 18:43
SpringBoot2.1.X HTTP接口GET请求使用
GET请求方式有以下几种:@RequestMapping(path="/{id}",method=
RequestMethod
.GET)单一参数1)publicStringgetUser(@PathVariableintid
凌冰_
·
2020-08-03 17:21
Spring
Boot
【整合篇】Activiti业务与流程的整合
启动流程是绑定业务,流程与业务的整合放到动态代理中/***启动修改课程流程Leaveleave,**@paramleave*/@RequestMapping(value="start",method=
RequestMethod
.POST
何静媛
·
2020-08-03 17:50
JAVA
工作流
用户管理模块
@RequestMapping(value="login.do",method=
RequestMethod
.POST)@ResponseBodypublicServerResponselogin(Stringusername
a391000181
·
2020-08-03 14:31
SpringMVC(图片上传处理、Json数据交互、Restful风格的使用)
加入上传功能需要的jar包3、配置多媒体解析器编写图片上传处理代码//图片上传用MultipartFile接收文件@RequestMapping(value="updateItem",method={
RequestMethod
.POST
Woo_home
·
2020-08-03 14:02
#
SpringMVC
http POST请求键值对参数以及json参数
发送键值对参数:对body里参数进行处理,使其变为键值对形式,下面为angular示例代码method:
RequestMethod
.Post,body:HttpService.buildURLSearchParams
calmlc
·
2020-08-03 13:03
前端
springboot基础http接口解析
本文介绍springboot基础的httpboot接口的使用注解说明1、GET请求1、单一参数@RequestMapping(path=“/{id}”,method=
RequestMethod
.GET)
ITzhongzi
·
2020-08-03 13:48
springboot
springboot
http
RestTemplate发送HTTP请求
来看看如何使用RestTemplate发送GET请求RestAPI-通过@RequestParam接收参数的GET接口@RequestMapping(value="accounts/filter",method=
RequestMethod
.GET
IRON_WILL_LEE
·
2020-08-03 11:01
SpringBoot2.X基础HTTP接口GET请求实战【GET请求】
讲解springboot接口,http的get请求,各个注解使用1、单一参数@RequestMapping(path="/{id}",method=
RequestMethod
.GET)1)publicStringgetUser
青铜造白
·
2020-08-03 10:10
java-springboot
【Django入门】——修改Django默认提供的错误页面
的请求有错误,那么框架会在浏览器上显示详细的错误信息,如下面所示:如果浏览器向Django框架请求了一个不存在的资源bindex,则Django会返回给浏览器这样的错误:Pagenotfound(404)
RequestMethod
TakingCoding4Granted
·
2020-08-03 10:52
#
Django框架
控制服务器处理请求的数量(高并发)-防止用户重复点击导致多次请求
privatefinalAtomicIntegertick=newAtomicInteger();@ResponseBody@RequestMapping(value="/url",method={
RequestMethod
.POST
wjw_allen
·
2020-08-03 08:52
http笔记
HTTP定义:HyperTextTransferProtocol超文本传输协议HTTP请求方法
RequestMethod
:(常用)1.Get获取资源:没有Body2.Post增加或者修改资源:有Body3
weixin_38759990
·
2020-08-03 07:42
学习笔记
SpringBoot 中@GetMapping和@PostMapping测试同一方法,为什么用@Get类型的注解可以访问成功,而@PostMapping用浏览器访问失败
@GetMapping是一个组合注解,是@RequestMapping(method=
RequestMethod
.GET)的缩写。该注解将HTTPGet映射到特定的处理方法上。
txhljjb
·
2020-08-03 05:16
SpringBoot学习笔记
Spring MVC在方法参数中使用@ModelAttribute中遇到的一个bug
@ResponseBody@RequestMapping(value="/delete/{id}",method={
RequestMethod
.GET})publicStringdelete(@ModelAttribute
totally123
·
2020-08-03 05:05
Spring
MVC
spring
mvc
Java后台构造Layui 树形数据结构
/***仅适用于数据量小的情况下,否则会有并发问题慎用*/@ResponseBody@RequestMapping(value="/getLayuiList",method=
RequestMethod
.POST
一只程序汪~~汪汪
·
2020-08-03 00:49
java基础
前端
中途进阶篇(三)springboot 有关的配置
后者以冒号【:】方式书写,千万不要混淆使用2、网络请求方式两种:get与postpost方式如下:@RequestMapping(value="/api/v1/create_info",method=
RequestMethod
.POST
项羽-韩
·
2020-08-03 00:30
服务器
mysql
SpringMVC解决@ResponseBody注解返回中文乱码
@RequestMapping(value="/test",method=
RequestMethod
.GET)publicStringtest(){return"中文";}我使用SpringMVC使用的版本是
c.
·
2020-08-02 23:24
SpringMVC
使用poi进行excel导入并解析插入数据库
,但是还是想记录下来这些东西正文1.导入jar包org.apache.poipoi-ooxml3.172.开始导入@RequestMapping(value="importUsers",method=
RequestMethod
.POST
你说这是什么
·
2020-08-02 23:50
spring的@RequestMapping不指定value时的结果
当我们不指定value的时候就,在一个提交方法只有一个的时候并不会报错,也就是如下@RequestMapping(method=
RequestMethod
.GET,produces=MediaT
Wooyulin
·
2020-08-02 22:03
springboot
SpringBoot Hadoop HDFS目录文件下载
@RequestMapping(value="/downDir",method={
RequestMethod
.POST,
RequestMethod
.GET})publicResponseEntitydownDir
吾将上下而求索丶
·
2020-08-02 22:50
JavaEE
使用JAVA的poi进行Excel表格的读取,以及往数据库进行数据的插入
@RequestMapping(path="/upload",method=
RequestMethod
.POST)publicvoidupload(@RequestParam("excelFile")PartexcelFile
QTZ
·
2020-08-02 22:38
Java 接收无参数post
@RequestMapping(value="/get_version2",method=
RequestMethod
.POST)publicvoidtestJson(@RequestBodyStringcode
蔡俊锋
·
2020-08-01 11:12
【实用】JSP页面图片回显的几种方式
方式一在Controller层中进行配置@RequestMapping(value="/StudentSideController_goWorksDetail.do",method=
RequestMethod
.GET
一见你就笑i
·
2020-08-01 09:24
Java基础知识
JavaScript
SpringBoot get请求返回 错误码 406 Not Acceptable
.+}",method=
RequestMethod
.GET)publicJSONDataquery(@PathVariableStrin
一只拖后腿的程序猿
·
2020-08-01 07:19
springboot
java中excel表格批量导入 批量添加
批量上传*@returnHResponse*@authorfun*@date2018年9月7日*/@ResponseBody@RequestMapping(value="/upload",method=
RequestMethod
.POST
wfanking
·
2020-08-01 06:58
java代码
批量导入数据(excel表格)写入数据库
直接贴代码:前端:文件描述:请选择文件:controller中://上传文件会自动绑定到MultipartFile中@RequestMapping(value="/upload",method=
RequestMethod
.POST
weixin_33975951
·
2020-08-01 04:55
DoesNotExist at /admin/
DoesNotExistat/admin/Userhasnoaccount.
RequestMethod
:GETRequestURL:http://127.0.0.1:8000/admin/DjangoVersion
weixin_33779515
·
2020-08-01 04:50
spring mvc上传文件超过设定大小异常处理客户端无响应:请求的连接被重置
controller类:@RequestMapping(path="/file",method=
RequestMethod
.POST)publicUploadMsguploadFile(@RequestParam
博さん
·
2020-08-01 02:18
SpringMVC
SpringMVC报406 Not Acceptable错误
ControllerpublicclassFooController{/***返回一串测试的json数据**@return{"name":"LinHenk"}*/@RequestMapping(value="foo/getJson",method=
RequestMethod
.GET
韩大帅666
·
2020-08-01 02:04
上一页
12
13
14
15
16
17
18
19
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他