struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "k918912 (JIRA)" <>
Subject [jira] [Commented] (WW-5021) Serve static resources from different namespace
Date Mon, 18 Feb 2019 13:23:00 GMT


k918912 commented on WW-5021:

Because my content is behind a load balancer and my Struts application is deployed, for various
reasons, directly under the Tomcat root. Plus I also have several Struts applications on one

So all my Struts sites are located under a namespace. Now I can easily configure this behind
my load balancer, to redirect to the correct Tomcat (because there are several Struts applications
under the same domain). But I can't redirect /struts, because I don't know which application
is actually being requested.

> Serve static resources from different namespace
> -----------------------------------------------
>                 Key: WW-5021
>                 URL:
>             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

View raw message