This website works better with JavaScript
Inicio
Explorar
Axuda
Iniciar sesión
zhzhenqin
/
jetty-simple-mvc
Seguir
1
Destacar
0
Fork
0
Ficheiros
Incidencias
0
Pull Requests
0
Wiki
jetty-simple-mvc
3
Achegas
1
Branches
0
Lanzamentos
Árbore:
050d795303
Ramas
Etiquetas
master
jetty-simple...
HTTP
ZIP
TAR.GZ
zhzhenqin
050d795303
add path content_type
%!s(int64=6) %!d(string=hai) anos
src
de81a8dfea
加入了 Guice, 实现 IoC,架构更清晰
%!s(int64=8) %!d(string=hai) anos
.gitignore
050d795303
add path content_type
%!s(int64=6) %!d(string=hai) anos
pom.xml
de81a8dfea
加入了 Guice, 实现 IoC,架构更清晰
%!s(int64=8) %!d(string=hai) anos
readme.md
6adeaf536f
init project
%!s(int64=8) %!d(string=hai) anos
readme.md
简易 MVC 框架:
在 Controller 类上注解
@Action
表示这个类是一个 Action;
在 标注有
@Action
的类的方法上标注
@Path
("/for") 则代表通过 /path/for 能访问到该资源;
前端 HTML 模板用的 Freemarker