Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hacke2/yymvc
第一款自己独自开发的JAVA MVC框架
https://github.com/hacke2/yymvc
Last synced: 9 days ago
JSON representation
第一款自己独自开发的JAVA MVC框架
- Host: GitHub
- URL: https://github.com/hacke2/yymvc
- Owner: hacke2
- Created: 2014-08-26T02:20:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-12T10:48:18.000Z (about 10 years ago)
- Last Synced: 2024-10-12T04:14:14.534Z (about 1 month ago)
- Language: Java
- Homepage: http://cqutmvc.jd-app.com/
- Size: 646 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yYmVc
=====第一款自己独自开发的JAVA MVC框架
1.基于配置,降低耦合性
mvc.xml
```xml
/success.jsp
/failed.jsp
/logon.jsp
```
2.支持自定义后缀
webConfig.properties
```
action-suffix=action
```
3.模拟struts 2,无学习成本
```java
public class UserAction extends ActionSupport {
private String userName;
private String password;
private String result;
@Override
public String execute() {
return SUCCESS;
}
public String login() {
if(StringUtil.isNotEmpty(userName) && StringUtil.isNotEmpty(password)) {
System.out.println("userName: " + userName + "password: " + password);
return SUCCESS;
} else {
return FAILED;
}
}
//其他省略....
}
```## [演示地址](http://cqutmvc.jd-app.com/)