标签:style blog http color 使用 os
atitit.spring3 mvc url配置最佳实践
Default <url-pattern>/</url-pattern>
<url-pattern>/*</url-pattern>
中间容易的冲突....spr十为了restful风格,,才默认中配置的..
跟个dwr3雅十... <url-pattern>/spr/*</url-pattern>
访问 http://localhost/gialen/spr/process.json
Override zaid cfg mvc like...
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:1466519819@qq.com
转载请注明来源: http://blog.csdn.net/attilax
@Controller
public class FileUploadController
Todox /process.json jeig zeush startChar match d path..
@RequestMapping(value = "/process.json", method = RequestMethod.GET)
@ResponseBody
public Object process(HttpServletRequest request,
HttpServletResponse response) throws Exception {
core.log("=========process.json");
return ( ProcessInfo)request.getSession().getAttribute("proInfo");
}
paip.spring3 mvc servlet的配置以及使用最佳实践 - attilax的专栏 - 博客频道 - CSDN.NET
atitit.spring3 mvc url配置最佳实践,布布扣,bubuko.com
标签:style blog http color 使用 os
原文地址:http://blog.csdn.net/attilax/article/details/38054391