Adam Gordon wrote:
Right now we basically have a URL dispatcher that when a specific
request comes in, we make another request to retrieve the contents of
a URI (a JSP page to generate HTML) via a server-to-server HTTP call
and then essentially slap that into a MimeBodyPart for sending
rather than write it to output stream.
Gennady.
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 10:15
To: Tomcat Users List
Subject: Re: Avoiding same server to server HTTP calls to generate HTML
pages via JSPs
Adam Gordon wrote:
Right now
), but will buffer response output as
string rather than write it to output stream.
Gennady.
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 10:15
To: Tomcat Users List
Subject: Re: Avoiding same server to server HTTP calls
Any one know if there exists a JSP writer engine in the Tomcat API that
allows for the generation of HTML pages via JSP code but without having
to make server to server HTTP calls?
Right now we basically have a URL dispatcher that when a specific
request comes in, we make another request to
-Original Message-
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Sent: Friday, January 04, 2008 01:13
To: Tomcat Users List
Subject: Avoiding same server to server HTTP calls to generate HTML pages
via JSPs
Any one know if there exists a JSP writer engine in the Tomcat API that
allows
Both incorporate the output of jsps and servlets in
the current request's output.
Which is not what the OP wanted. They wanted to :
essentially slap that [the response] into a MimeBodyPart for sending
text/html email messages.
I've done something very similar - use an HTTP