struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <>
Subject Re: Dynamically setting the template directory in an Action
Date Tue, 13 Dec 2011 02:43:20 GMT
My suggestion:

You can create a file(or folder) link on your file system.

>From the view of your web app,
it works like a file(or folder) inside the [document root directory],
but the real file(or folder) is actually somewhere outside the
[document root directory].

2011/12/8 Gurcharan Singh <>:
> In the same line, I've a question - How to setup Struts2 to use templates
> which are located outside document root directory. Why we want to do it -
> We want to keep UI and Dev work separate and in-case any change is made in
> the template, we shouldn't be re-building the whole app.
> Thanks
> Gurcharan

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message