Tapestry4常用的注入对象

来源:互联网 发布:最新免费读书软件 编辑:程序博客网 时间:2024/04/30 11:34

注入方式:
@InjectObject("service:tapestry.globals.HttpServletResponse")
public abstract HttpServletResponse getServletResponse();

service一览:
tapestry.globals.HttpServletRequest
tapestry.globals.HttpServletResponse
tapestry.globals.ServletContext
tapestry.globals.ApplicationGlobals
tapestry.globals.IRequestCycle
tapestry.globals.RequestGlobals
tapestry.globals.SetupServletApplicationGlobals
tapestry.globals.WebContext
tapestry.globals.WebRequest
tapestry.globals.WebResponse

原创粉丝点击