Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 535 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 535 Bytes

DI-framework

注解框架

@Controller注解控制层

@Action注解请求方法 格式(get:/**) @Service注解service层 @Inject注解属性值

配置文件名称:config.properties 内容: okay.framework.jdbc.driver = com.mysql.jdbc.Driver okay.framework.jdbc.url = jdbc:mysql://localhost:3306/okay_db okay.framework.jdbc.username = root okay.framework.jdbc.password = *******

okay.framework.app.base_package = cn.okjiaoyu.chapter3 okay.framework.app.jsp_path = /WEB-INF/view/ okay.framework.app.asset_path = /asset/