From issues-return-33139-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Thu Feb 14 15:29:13 2019 Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0A9D1819F for ; Thu, 14 Feb 2019 15:29:13 +0000 (UTC) Received: (qmail 8263 invoked by uid 500); 14 Feb 2019 15:29:13 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 8230 invoked by uid 500); 14 Feb 2019 15:29:13 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 8219 invoked by uid 99); 14 Feb 2019 15:29:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2019 15:29:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3A755C5CC9 for ; Thu, 14 Feb 2019 15:29:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ydnlOyfse4fd for ; Thu, 14 Feb 2019 15:29:12 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4B871623BD for ; Thu, 14 Feb 2019 15:23:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8D6A7E27B5 for ; Thu, 14 Feb 2019 15:23:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 39EBC244C0 for ; Thu, 14 Feb 2019 15:23:00 +0000 (UTC) Date: Thu, 14 Feb 2019 15:23:00 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-5021) Serve static resources from different namespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-5021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768409#comment-16768409 ] Lukasz Lenart commented on WW-5021: ----------------------------------- I see your point now, maybe it would be a good idea to have such a constant that can be defined by a user. Also you can define a new theme based on simple/xhtml theme and then just override that few templates (copy/paste and replace the path) > Serve static resources from different namespace > ----------------------------------------------- > > Key: WW-5021 > URL: https://issues.apache.org/jira/browse/WW-5021 > Project: Struts 2 > Issue Type: Task > Affects Versions: 2.5.20 > Reporter: k918912 > Assignee: Lukasz Lenart > Priority: Major > Fix For: 2.6 > > > Is it somehow possible to serve the static Struts files from a different path? > Currently domTT.js is loaded via /struts, but in my environment I would like to serve it via /test/struts for example. Is there any configuration I'm missing or is this currently not possible? -- This message was sent by Atlassian JIRA (v7.6.3#76005)