Re: Avoiding same server to server HTTP calls to generate HTML pages via JSPs

2008-01-04 Thread Mikolaj Rydzewski
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

RE: Avoiding same server to server HTTP calls to generate HTML pages via JSPs

2008-01-04 Thread Gennady Shumakher
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

Re: Avoiding same server to server HTTP calls to generate HTML pages via JSPs

2008-01-04 Thread Len Popp
), 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

Avoiding same server to server HTTP calls to generate HTML pages via JSPs

2008-01-03 Thread Adam Gordon
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

RE: Avoiding same server to server HTTP calls to generate HTML pages via JSPs

2008-01-03 Thread Gennady Shumakher
-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

RE: Avoiding same server to server HTTP calls to generate HTML pages via JSPs

2008-01-03 Thread gb1071nx
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