
SpringMVC
Muxiyale
Java小学员。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
01-SpringMVC Hello,World
spring-mvc.xml<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:co原创 2016-01-21 21:20:24 · 371 阅读 · 0 评论 -
02-SpringMVC的一些注解
获取提交的参数:1.第一种方法是直接使用String userName=request.getParameter("username");2.第二种使用注解@RequestParam(value="inputStr", required=true) String inputStr原创 2016-12-06 10:46:18 · 286 阅读 · 0 评论