Hi,

I want to access a resource file from AppModule.java buildXXX method.  Can
anyone guide me how to go about it?

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
not found exception
}

Thanks!


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-get-resource-handle-in-AppModule-java-tp5078761p5078761.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to