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
Spring3 MVC Hello World(3)使用JSON进行前后台数据交互
向前台返回JSON格式的数据:12345678910111213141516@RequestMapping(value="/list",method=
RequestMethod
.GET)@ResponseBodypublicMapgetUserList
木木情深
·
2014-01-22 20:00
SpringMVC读取controller信息
. /* *初始化角色页面 */ @RequestMapping(value="rolesList.s",method=
RequestMethod
.GET) @TestAno(name="角色列表页面
yanchao520mmmm
·
2014-01-22 14:46
mvc
xml
springMVC
mapping
配置文件读取
读取controller
SpringMVC读取controller信息
/**初始化角色页面*/@RequestMapping(value="rolesList.s",method=
RequestMethod
.GET)@TestAno(name="角色列表页面",remar
yanchao520mmmm
·
2014-01-22 14:46
xml
springMVC
MVC
MVC
Spring3 MVC 使用JSON进行前后台数据交互
10 11 12 13 14 15 16 @RequestMapping (value = "/list" , method =
RequestMethod
wbj0110
·
2014-01-21 20:00
json
spring mvc
Spring3 MVC 使用JSON进行前后台数据交互
10 11 12 13 14 15 16 @RequestMapping (value = "/list" , method =
RequestMethod
wbj0110
·
2014-01-21 20:00
json
spring mvc
Spring3 MVC 使用JSON进行前后台数据交互
10 11 12 13 14 15 16 @RequestMapping (value = "/list" , method =
RequestMethod
wbj0110
·
2014-01-21 20:00
json
spring mvc
Could not read JSON: Can not deserialize instance of java.lang.Integer out of ST
id}这个json转换成Map对象,只要将@requestBody中的参数改成Map就可以了,如下 @RequestMapping(value="/delete",method=
RequestMethod
.POST
wbj0110
·
2014-01-21 15:00
java
exception
Could not read JSON: Can not deserialize instance of java.lang.Integer out of ST
id}这个json转换成Map对象,只要将@requestBody中的参数改成Map就可以了,如下 @RequestMapping(value="/delete",method=
RequestMethod
.POST
wbj0110
·
2014-01-21 15:00
java
exception
Could not read JSON: Can not deserialize instance of java.lang.Integer out of ST
id}这个json转换成Map对象,只要将@requestBody中的参数改成Map就可以了,如下 @RequestMapping(value="/delete",method=
RequestMethod
.POST
wbj0110
·
2014-01-21 15:00
java
exception
Http 400 Bad Request
@Controller public class NameController { @RequestMapping(value="/myname",method=
RequestMethod
.POST
alleni123
·
2014-01-12 12:00
exception
springMVC
SpringMVC控制器接收不了PUT提交的参数的解决方案
照常先贴出我的控制器代码,没什么特别的,就是打印出接受到的前台参数值:@RequestMapping(value="/{id}",method=
RequestMethod
.PUT) @ResponseB
boyce小布
·
2014-01-10 10:00
参数
springMVC
null
put
angular的post请求,SpringMVC后台接收不到参数值的解决方案
这是我后台SpringMVC控制器接收isform参数的方法,只是简单的打出它的值:@RequestMapping(method=
RequestMethod
.POST) @ResponseBody publicMapsave
boyce小布
·
2014-01-09 10:00
Angular
post
参数null
springMvc+jsp静态资源找不到
springDispatcher处理,转而使用tomcatdefaultservlet处理的思想照做后,发现果然可以了A @RequestMapping(value="/cardtool",method=
RequestMethod
.GET
adyuebanwan
·
2014-01-04 14:00
jsp
springMVC
静态文件访问
Json 异常:Can not deserialize instance of xx out of START_ARRAY token
Server: @RequestMapping(value = { "/hygiene/{phone}" }, method = {
RequestMethod
.POST },produces
seaboycs
·
2013-12-31 11:00
JsonToJAVA
@PathVariable和@RequestParam的区别
请求路径上有个id的变量值,可以通过@PathVariable来获取 @RequestMapping(value="/page/{id}",method=
RequestMethod
.GET) @RequestParam
kunkun378263
·
2013-12-20 13:00
spring MVC 3.1 forword/redirect
1.请求转发: (1)返回ModelAndView :@RequestMapping(value="/model",method=
RequestMethod
.GET)publicModelAndViewtestForward
a137268431
·
2013-12-17 18:00
spring
spring
mvc
spring MVC 3.1 forword/redirect
1.请求转发: (1)返回ModelAndView :@RequestMapping(value="/model",method=
RequestMethod
.GET)publicModelAndViewtestForward
a137268431
·
2013-12-16 09:00
spring
mvc
redirect
forward
SpringMVC入门 (六) 文件上传
1.单个文件上传 在Controller的add方法中加入: @RequestMapping(value="/add",method=
RequestMethod
.POST
alleni123
·
2013-12-08 23:00
文件上传
springMVC
SpringMVC入门 (五)用户登录以及异常处理,静态文件
@RequestMapping(value="/login",method=
RequestMethod
.GET) public String login(){ return
alleni123
·
2013-12-08 22:00
springMVC
SpringMVC入门 (四) 简单用户管理实例-增删改查
Controller里面加入: //{username}就是path variable-路径参数 @RequestMapping(value="/{username}",method=
RequestMethod
.GET
alleni123
·
2013-12-08 19:00
springMVC
mvc+exfjs
Js与后台交互Ajax @RequestMapping(value="/updateZtjk",method=
RequestMethod
.POST) @ResponseBody publicResponseDataupdateZtjk
zhymxt
·
2013-12-04 20:00
spring mvc 接收jquery ajax 提交的数组参数
nodes=201,202.........为字符串数组 @RequestMapping(value = "update",method=
RequestMethod
.POST)
tbs005
·
2013-11-07 09:00
jQuery ajax
spring mvc 返回String 中文是乱码的问题
解决办法: 加上produces @RequestMapping(value="/user}",method=
RequestMethod
.GET,produces="application
依山傍水
·
2013-10-29 09:00
spring mvc
iis判断request method是按Content-Type而不是request line判断的
原来iis判断
requestmethod
是按Content-Type而不是requestline判断的。
axman
·
2013-10-28 15:00
文件下载功能的实现【本文是excel下载】
前台同步提交 @RequestMapping(value = "/out-excel", method =
RequestMethod
.POST) public void outExcel
bughope
·
2013-10-20 11:00
java
IO
下载
mysql error 134
转自:http://hi.baidu.com/jishachengqiu/item/b347de5a0dafb519db163527
RequestMethod
:GETRequestURL:http://
asircao
·
2013-10-12 11:00
spring 知识点
RedirectAttributes可以解决重复表单的提交 @RequestMapping(value="/success.html",method=
RequestMethod
.GET
Blackbaby
·
2013-09-18 10:00
spring
spring mvc 解决中文response乱码
springmvc解决中文response乱码@RequestMapping(value="/attendance",method=
RequestMethod
.POST,produces={"application
chen_gangl
·
2013-09-11 11:21
spring
method
中文
produces
attendance
验证码生成
/**验证码生成后台方法*/ @RequestMapping(value = "/losepassword/getvalidatecode",method =
RequestMethod
.GET
不会永远是菜鸟
·
2013-09-06 16:00
验证码生成
看不清
登陆注册验证码
spirng 相关注解详解
publicclassUserController{ @Autowired privateUserServcieuserService;//接口编程 @RequestMapping(method=
RequestMethod
.GET
u010150082
·
2013-09-06 11:00
spring
AOP
事务
RequestMethod
spring3.0添加了一个过滤器,可以将这些请求转换为标准的http方法,使得支持GET、POST、PUT与DELETE请求配置: HiddenHttpMethodFilter org.springframework.web.filter.HiddenHttpMethodFilter HiddenHttpMethodFilter/*/** 进入新增 */@RequestMapp
sunhuwh
·
2013-08-27 08:00
springmvc annotation 2
annotation:@PathVariable是用来对指定请求的URL路径里面的变量 eg: Java代码 @RequestMapping(value = "form/{id}/apply", method = {
RequestMethod
.PUT
sunhuwh
·
2013-08-23 09:00
SpringMVC异常报406 (Not Acceptable)的解决办法
使用SpsringMVC,使用restEasy调试,controller请求设置如下: @RequestMapping(value="/list",method=
RequestMethod
.GET
jadethao
·
2013-08-17 19:00
acceptable
SpringMVC异常报406 (Not Acceptable)的解决办法
使用SpsringMVC,使用restEasy调试,controller请求设置如下: @RequestMapping(value="/list",method=
RequestMethod
.GET
jadethao
·
2013-08-17 19:00
acceptable
SpringMVC异常报406 (Not Acceptable)的解决办法
使用SpsringMVC,使用restEasy调试,controller请求设置如下: @RequestMapping(value="/list",method=
RequestMethod
.GET
jadethao
·
2013-08-17 19:00
acceptable
导出PDF (iText实现) PdfDownloadDS
的压缩包,包含PDF文件多个服务内容在一个Servicespecification.pdf中 @RequestMapping(value="esbService/exportPdf.do",method=
RequestMethod
.GET
uule
·
2013-08-15 15:00
download
导出PDF (iText实现) PdfDownloadDS
的压缩包,包含PDF文件多个服务内容在一个Servicespecification.pdf中 @RequestMapping(value="esbService/exportPdf.do",method=
RequestMethod
.GET
uule
·
2013-08-15 15:00
download
Spring mvc 传递数组
"titles[]") Controller @RequestMapping(value="/exportExcel", method =
RequestMethod
.POST
fireinjava
·
2013-08-07 11:00
spring mvc
数组
传参
Spring mvc 传递数组
阅读更多主要是加了个@RequestParam(value="titles[]")Controller@RequestMapping(value="/exportExcel",method=
RequestMethod
.POST
fireinjava
·
2013-08-07 11:00
spring
mvc
数组
传参
Spring mvc 传递数组
阅读更多主要是加了个@RequestParam(value="titles[]")Controller@RequestMapping(value="/exportExcel",method=
RequestMethod
.POST
fireinjava
·
2013-08-07 11:00
spring
mvc
数组
传参
SpringMVC 上传文件
@RequestMapping(value="/uploadFile",method=
RequestMethod
.POST) publicModelAndViewgetUploadFile(HttpServletRequestrequest
oyzl68
·
2013-08-03 08:00
spring3.2 ajax jquery 显示返回信息 中文乱码
3spring3.2注解添加“produces="text/plain;charset=UTF-8"”@RequestMapping(value="/batchDeleteUser.do",method=
RequestMethod
.POST
fanson59
·
2013-08-02 10:18
Ajax
乱码
srping3
spring3与struts2 注解ajax实现
spring3.2ajax:@RequestMapping(value="/fct/ajax_addUser.do",method=
RequestMethod
.POST)@ResponseBodypublicStringajax_addUser
fanson59
·
2013-08-01 12:02
注解
spring
Ajax
struts
实习笔记之Spring MVC + ajax + highcharts
@RequestMapping(value="chart/ajax/{name}",method=
RequestMethod
.GET)public@ResponseBodyStringshowChart
adele0917
·
2013-07-31 14:02
Web
@RequestMapping 转发数据乱码解决方案
js与java转发数据中文乱码解决@RequestMapping(value="/jahmm",method=
RequestMethod
.GET,produces="text/html;charset=
chen_gangl
·
2013-07-26 14:32
java
method
中文
解决方案
produces
使用 Spring 3 来创建 RESTful Web Services
@RequestMapping(method=
RequestMethod
.POST, value="/employee") public ModelAndView addEmployee
dengwenjun
·
2013-07-13 15:00
web services
java 下载Excel文件
@RequestMapping(value = "/ucAlarmlog/list/upload", method =
RequestMethod
.GET) public String userListUpload
zhangtao1002
·
2013-07-11 16:55
POI下载Excel
下载Excel
java下载Excel
Spring @ResponseBody 直接返回String乱码处理
@RequestMapping(value="test",method={
RequestMethod
.GET,
RequestMethod
.POST }) @ResponseBody publicStringgetMenuByParentId
yangwei19680827
·
2013-07-05 21:00
SpringMVC注解说明
method 表示所需处理请求的http 协议(如get,post,put,delete等),可选值为
RequestMethod
这个enum的值。 params 格式为”paramname
从此醉
·
2013-07-05 17:00
springMVC
Spring MVC – URI Templates
1@RequestMapping(value="/owners/{ownerId}",method=
RequestMethod
.GET)2
geekstart
·
2013-07-05 12:00
spring
上一页
38
39
40
41
42
43
44
45
下一页
按字母分类:
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
其他