Tapestry4常用的注入对象

注入方式:
@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

你可能感兴趣的:(tapestry)