文件名称:通过注解绑定:示例-SpringMVC学习
文件大小:1.44MB
文件格式:PPT
更新时间:2024-05-16 03:15:30
SpringMVC
通过注解绑定:示例 @RequestMapping(value="/handle1") public String handle1(@RequestParam("userName") String userName, @RequestParam("password") String password, @RequestParam("realName") String realName){ ... } @RequestMapping(value="/handle2") public String handle2(@CookieValue("JSESSIONID") String sessionId, @RequestHeader("Accept-Language") String accpetLanguage){ ... }