tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BR Brett Ryan (3456)" <Brett.R...@johnsands.com.au>
Subject Re: How to use a custom org.apache.tiles.servlet.context.ServletTilesRequestContext
Date Tue, 03 Mar 2015 20:42:12 GMT
Why? Maybe JSP isn't your answer and instead write out the stream separately directly from
your servlet.

Sent from my iPhone

> On 4 Mar 2015, at 05:44, JOSE L MARTINEZ-AVIAL <jlmagc@gmail.com> wrote:
> Hello mck,
>  I'm not going to compile the JSP on the fly on every request, just when
> they change. Basically we have a token in the JSP that we want to replace
> with the line number where the token is. Every time the JSP is requested,
> we will check if the JSP file has been updated since the last time it was
> requested, and if so, change the token in the JSP and call the
> requestdispatcher as usual, so it can process it.
> JL
> 2015-03-03 13:33 GMT-05:00 mck <mck@semb.wever.org>:
>> Compiling jsps on the fly is going to kill your performance.
>> Redesign the content instead to be dynamic or use a scripting language
>> like velocity that doesn't need compiling for the particular template in
>> question.
>> ~mck

View raw message