---
title: "Tapestry4常用的注入对象"
author: "tapestry"
date: "2007-07-15T21:50:51Z"
tags: []
slug: "tapestry4"
draft: false
lastmod: "2007-07-15T21:50:51Z"
id: 101332
url: "https://tapestry.iteye.com/blog/101332"
---

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