On Thu, 15 Dec 2011 19:39:26 -0200, hese <1024h...@gmail.com> wrote:

Hi,

Hi!

public EmailTemplate buildEmailTemplate() {
    InputStream is = ??
    // I want to get a handle to a text file residing in my context path.
    // obviously FileInputStream("/templates/billing.stg"); throws a file

Unless this file should be accessible to your site users, why don't you put it in the classpath?

--
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