Can you use MyPage.class.getResourcesAsStream( ... ) ? Don't forget to ensure to include .xsl files in your maven resources list, otherwise it won't get put in the .war file.
On 22 August 2012 14:31, George Christman <gchrist...@cardaddy.com> wrote: > I have an xsl file which I "believe" should be placed in the resource > package > along with my hibernate.cfg files. "Please correct me if I'm wrong". > Anyhow, > I'm wondering if tapestry offers a way to access the file so I can pass it > into my StreamSource without having to use new File(). Thanks > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Streaming-file-from-resource-package-tp5715725.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 > >