On Thu, 03 Feb 2011 09:10:11 -0200, Angelo C. <angelochen...@gmail.com> wrote:

Hi,

Hi!

I need to add some http headers into response, like
Access-Control-Allow-Origin: "*", how to achieve this? Thanks,

The better way depends on which pages do you want to do this. If it's all, create a RequestFilter and use the Response's setHeader(String name, String value) method. If it's just one, @Inject Response and use the same method.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to