[ 
https://issues.apache.org/jira/browse/WW-5021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16776797#comment-16776797
 ] 

k918912 commented on WW-5021:
-----------------------------

{quote}But if you have divided your apps using Struts packages's namespace i.e. 
you expect root application to generate /someNamespace/struts/domTT.js when 
underlying action is defined in a package with namespace someNamespace 
(someNamespace here is one of your apps mapped to root namespaces) then I think 
it is very specific not general your need that couldn't being added, and in my 
opinion is resolvable via a modification to your design i.e. manipulate your 
load-balancer to route all of them (/struts/....) to root app.{quote}
You did understand everything correctly. Whether this is something that is 
needed can be discussed within the Struts team and / or someone could always 
provide a pull request. I just wanted to point out that the feature this ticket 
is about is at the moment not possible via Struts configuration and could be 
implemented if there is demand (i.e. not invalid).

> 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)

Reply via email to