controller代码:
@RequestMapping(value = "/cmpSts/{cmpId}", method = RequestMethod.GET)
public ResponseEntity cmpSts(@PathVariable int cmpId,
HttpServletRequest request, HttpServletResponse resp...
分类:
编程语言 时间:
2015-07-17 19:03:05
阅读次数:
224
@Controller@RequestMapping(value = "/personal") 控制前和url@RequestMapping("/query_untreated_express_list.html")@ResponseBodypublic ResponseData> queryUnt...
分类:
编程语言 时间:
2015-07-17 11:18:12
阅读次数:
150
1.controller.java:是个中间传值中间件 @RequestMapping(value = "/delete", method = RequestMethod.GET)//get通过地址来传递 ? ? public String delete(UserBean userBean,Model model) { int result = hello...
分类:
数据库 时间:
2015-07-16 08:26:00
阅读次数:
194
测试成功。带参数的重定向。模拟情况:添加完信息后跳转到一个新页面,显示刚新增的信息。测试成功的几种方式。1.拼接urladdUser@RequestMapping("/addUser") public ModelAndView addUser(HttpServletRequest reques...
分类:
编程语言 时间:
2015-07-15 16:36:27
阅读次数:
99
@RequestMapping("/insertOrder") @ResponseBody public Object insertOrder(String userId,HttpServletRequest req) { MultipartHttpServletRequestmultip...
分类:
编程语言 时间:
2015-07-15 12:32:28
阅读次数:
1678
Spring
MVC 获取前台参数值得java代码:
@RequestMapping(value = "/loginCheck")
public String loginCheck(
@RequestParam("username") String username,
@RequestParam("password") String password)
{
U...
分类:
编程语言 时间:
2015-07-13 10:23:33
阅读次数:
353
controller@Controller@RequestMapping(value = "/upload")public class UploadController { @RequestMapping(value = "/u...
分类:
编程语言 时间:
2015-07-12 18:52:58
阅读次数:
134
@RequestMapping(value = "callbackAlipay", method = RequestMethod.POST) @ResponseBody public ResponseEntity callbackAlipay( @RequestParam(value = "d...
分类:
其他好文 时间:
2015-07-10 18:38:29
阅读次数:
288
问题:使用spring mvcajaxfileupload文件上传在ie8下会提示json下载问题解决方案如下:服务器代码: @RequestMapping(value = "/addAnalysis", method = RequestMethod.POST) public void ...
分类:
编程语言 时间:
2015-07-09 13:11:08
阅读次数:
151
Command or form objects to bind request parameters to bean properties (via setters) or directly to fields, with customizable type conversion, dependin...
分类:
移动开发 时间:
2015-07-07 16:24:53
阅读次数:
259