struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasser Zamani (JIRA)" <>
Subject [jira] [Commented] (WW-5021) Serve static resources from different namespace
Date Fri, 22 Feb 2019 09:28:00 GMT


Yasser Zamani commented on WW-5021:

So no, it doesn't resolve **all** static resources to {{/struts}}, but only the root application's
Struts resolve it's static resources to that and it is what logically anticipated. Other context
path's application's Struts doesn't resolve their static resources to root, so I think they
already target the correct app. Or maybe I didn't understand your design correctly? because
I didn't understand what you meant by:

bq. Also I can't let my application run under /test, because it has 2 completely different
namespaces, e.g. /test/action1 and /test2/action2.

> 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