Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hacke2/yymvc

第一款自己独自开发的JAVA MVC框架
https://github.com/hacke2/yymvc

Last synced: 9 days ago
JSON representation

第一款自己独自开发的JAVA MVC框架

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/)