Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
beauty_ssm
提交
85b4c319
B
beauty_ssm
项目概览
爱吃血肠
/
beauty_ssm
通知
9
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
beauty_ssm
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
85b4c319
编写于
3月 04, 2018
作者:
爱吃血肠
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
成功接到用户登录的表单数据
上级
aa80f27b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
21 deletion
+8
-21
README.md
README.md
+2
-17
src/main/java/com/yingjun/ssm/web/UserController.java
src/main/java/com/yingjun/ssm/web/UserController.java
+4
-2
src/main/webapp/WEB-INF/jsp/user/userLogin.jsp
src/main/webapp/WEB-INF/jsp/user/userLogin.jsp
+2
-2
未找到文件。
README.md
浏览文件 @
85b4c319
#优雅的SSM架构(Spring+SpringMVC+Mybatis)
-
Maven
-
Spring(IOC DI AOP 声明式事务处理)
-
SpringMVC(支持Restful风格)
-
Hibernate Validate(参数校验)
-
Mybatis(最少配置方案)
-
Quartz时间调度
-
Redis缓存(ProtoStuff序列化)
-
[
Redis Sentinel主从高可用方案
](
http://wosyingjun.iteye.com/blog/2289593
)
-
[
Redis Cluster集群高可用方案
](
http://wosyingjun.iteye.com/blog/2289220
)
-
[
Druid(数据源配置 sql防注入 sql性能监控)
](
http://wosyingjun.iteye.com/blog/2306139
)
-
统一的异常处理
-
JSP JSTL JavaScript
-
Sping Shiro权限控制(待完善)
###**架构图:**
![](
http://i.imgur.com/vc6iu0X.png
)
\ No newline at end of file
哈尔滨理工大学软件学院
李云峰毕业设计 集群注册系统
src/main/java/com/yingjun/ssm/web/UserController.java
浏览文件 @
85b4c319
package
com.yingjun.ssm.web
;
import
com.yingjun.ssm.entity.User
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.ModelAttribute
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
...
...
@@ -24,8 +26,8 @@ public class UserController {
* @return
*/
@RequestMapping
(
value
=
"/userLogin"
)
public
String
userLogin
()
{
LOG
.
info
(
"
用户登录"
);
public
String
userLogin
(
@ModelAttribute
User
user
)
{
LOG
.
info
(
"
表单提交的用户信息:"
+
user
.
toString
()
);
return
"/user/userLogin"
;
}
...
...
src/main/webapp/WEB-INF/jsp/user/userLogin.jsp
浏览文件 @
85b4c319
...
...
@@ -44,10 +44,10 @@
<div
class=
"detail"
>
<ul>
<li>
<input
class=
"input telNum"
type=
"text"
name=
""
id=
""
value=
""
placeholder=
"请输入邮箱"
/>
<input
class=
"input telNum"
type=
"text"
name=
"
email
"
id=
""
value=
""
placeholder=
"请输入邮箱"
/>
</li>
<li>
<input
class=
"input pwd"
type=
"password"
name=
""
id=
"pwd"
value=
""
placeholder=
"请输入密码"
/>
<input
class=
"input pwd"
type=
"password"
name=
"
password
"
id=
"pwd"
value=
""
placeholder=
"请输入密码"
/>
</li>
</ul>
<div
class=
"forgatPwd"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录