Re: Send StreamReposne in Page to File On Server

2014-06-08 Thread Net Dawg
Indeed.  you make perfect sense - 1) create a concrete file in a web-accessible folder first and then, after testing it, 2) forward the request to that file.  The process #1 should be done independent of application context, reused.  Just me - but I do not want to touch code that is already w

Re: Send StreamReposne in Page to File On Server

2014-06-07 Thread Geoff Callender
I'm confused. I would have the streamer use something else first to create or find the PDF, then it streams it. That "something" is the part that is common and could be shared, not the streamer. Am I off track? Cheers, Geoff On 8 Jun 2014, at 6:49 am, Net Dawg wrote: > Would like to reuse a

Send StreamReposne in Page to File On Server

2014-06-07 Thread Net Dawg
Would like to reuse a page event handler function to render that specific response on server as a file.  Generally, how does one make an service wrapper to tapestry pages?  Specifically, how can tapestry application context be injected in stand-alone java program? Use-Case: There is a