tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Le Bas <m...@nlebas.net>
Subject Re: JSP's outside WEB-INF
Date Wed, 20 May 2015 12:59:24 GMT
Hi Ivo,

What language do you use for templates?

JSPs must always remain within the WAR file, that is a constraint of the
servlet/JSP container. No way around it.

If you're something else but JSP (for instance freemarker or velocity),
there are ways to put the templates outside the WAR file, but they'll
only be available in Tiles 3.1.

For Tiles 2.2, you can put tiles-defs.xml outside by subclassing
ServletTilesApplicationContext, but that's as far as you can go.

Hope this helps,

On 15-05-19 02:46 PM, Ivo Sestren Junior wrote:
> Hi,
> It's possible to configure Tiles 2.2.2 to use directory outside WEB-INF
> and/or context path?
> Because some clients make changes in templates and a new version of my app
> on redeploy not overwrite this files.
> How can i configure base directory for this templates?

View raw message