You could keep it all Java (closer to the App Server is a good idea)
and use the Apache HTTPClient to make the HTTP request.
http://jakarta.apache.org/httpcomponents/httpcomponents-client/index.html
Christopher.
On Dec 3, 2007 11:35 PM, Daniel Jue <[EMAIL PROTECTED]> wrote:
> I guess the next st
I guess the next step is to simulate the HTTP request and then grab
the output from it. For generating html emails you wouldn't want to
do any interaction through the web browser to initiate the page
creation.
Maybe the wget approach is a good angle of attack, but needs to be
closer to the App Se
en <[EMAIL PROTECTED]> wrote:
>
> >
> > Could anyone give me any pointers or directions on how to stream the html
> > output that Tapestry generates out to a text file, which would be stored
> > in
> > a specific directory outside the Tapestry project?
> >
It's not elegant, but you could use a command-line tool like "wget".
Andy
On Mon, 2007-12-03 at 08:41 -0800, patrick whalen wrote:
> Could anyone give me any pointers or directions on how to stream the html
> output that Tapestry generates out to a text file, which would be stored in
> a specific
;
> I would also like to be able to do the same with assets such as css and
> javascript files, though this would be less important, and more of a
> convenience.
>
> Any hints and suggestions are appreciated.
>
> Thanks much.patrick
> --
> View this message in conte
ike to be able to do the same with assets such as css and
> javascript files, though this would be less important, and more of a
> convenience.
>
> Any hints and suggestions are appreciated.
>
> Thanks much.patrick
> --
> View this message in context:
> http://www.nab
, though this would be less important, and more of a
convenience.
Any hints and suggestions are appreciated.
Thanks much.patrick
--
View this message in context:
http://www.nabble.com/T5---Stream-source-output-to-text-file-tf4937616.html#a14133292
Sent from the Tapestry - User mailing list archive