Re: Is it possible to programmatically compile jsp files?

2020-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 3/25/20 09:51, Jonathan Yom-Tov wrote: > I think I phrased my question incorrectly. What I want to do is to > cache the HTML resulting from the JSPs evaluation so I can serve > the cached result. The reason is that I'm working on an app

Re: Is it possible to programmatically compile jsp files?

2020-03-25 Thread Olaf Kock
On 25.03.20 15:19, Jonathan Yom-Tov wrote: > Sounds good. What would be the best way of evaluating the result so I can > cache it? Buffer the output (e.g. by providing a buffered stream for the response) I'm not sure if this means that you'll need to wrap the response object, of if you could ju

Re: Is it possible to programmatically compile jsp files?

2020-03-25 Thread Jonathan Yom-Tov
Sounds good. What would be the best way of evaluating the result so I can cache it? On Wed, Mar 25, 2020 at 4:03 PM Olaf Kock wrote: > > On 25.03.20 14:51, Jonathan Yom-Tov wrote: > > I think I phrased my question incorrectly. What I want to do is to cache > > the HTML resulting from the JSPs ev

Re: Is it possible to programmatically compile jsp files?

2020-03-25 Thread Olaf Kock
On 25.03.20 14:51, Jonathan Yom-Tov wrote: > I think I phrased my question incorrectly. What I want to do is to cache > the HTML resulting from the JSPs evaluation so I can serve the cached > result. The reason is that I'm working on an application which makes a lot > of requests per page. This m

Re: Is it possible to programmatically compile jsp files?

2020-03-25 Thread Jonathan Yom-Tov
I think I phrased my question incorrectly. What I want to do is to cache the HTML resulting from the JSPs evaluation so I can serve the cached result. The reason is that I'm working on an application which makes a lot of requests per page. This makes the page very slow. What I want to do is to serv

Re: [OT] Tomcat Wiki Source Code Download

2020-03-25 Thread Brian Burch
On 25/3/20 8:09 am, Mark Thomas wrote: On 24/03/2020 22:00, Christopher Schultz wrote: On 3/24/20 17:54, Brian Burch wrote: So I had the source all along, but never thought to look there! Seems like another case where the documentation is misleading to someone who isn't familiar with the