Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B547D7669 for ; Tue, 13 Dec 2011 02:43:52 +0000 (UTC) Received: (qmail 85698 invoked by uid 500); 13 Dec 2011 02:43:51 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 85197 invoked by uid 500); 13 Dec 2011 02:43:50 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 85189 invoked by uid 99); 13 Dec 2011 02:43:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 02:43:49 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of liying.cn.2010@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 02:43:42 +0000 Received: by iapp10 with SMTP id p10so1920978iap.35 for ; Mon, 12 Dec 2011 18:43:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=q0KW8qMlWPfnJ7P500ppwO4FLL1fDNqRD58Ft5kTMRU=; b=cR9/Re0V52EXaEtU9Rm8qrAcIHnUhN8JQxWPBk+s+6hTgKp7LSYz5vTzUhKZRn6QZ+ Ay+lUV9fw+9uqX85sZ9OGnol5VP9sXUPxkqSzak6MYDqygn0w0a8ukuCUMbaU3stMVP/ vpgRiDBSCvs+bvkt4Gi5rKfLHPgZJdZt9Ufe8= MIME-Version: 1.0 Received: by 10.50.36.230 with SMTP id t6mr17268630igj.83.1323744200885; Mon, 12 Dec 2011 18:43:20 -0800 (PST) Received: by 10.50.57.162 with HTTP; Mon, 12 Dec 2011 18:43:20 -0800 (PST) In-Reply-To: References: <86F19273-5BC7-48AE-8CEE-19BBAC6412F6@gmail.com> Date: Tue, 13 Dec 2011 11:43:20 +0900 Message-ID: Subject: Re: Dynamically setting the template directory in an Action From: Li Ying To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 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: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org