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

Yasser Zamani commented on WW-5021:
-----------------------------------

{quote}I can't route /struts to my application for policy reasons.{quote}

You don't want to route {{/struts}} to your application because of policy 
reasons? Or you can't route {{/struts}} to your application to enforce your 
policy? Where is this "your application"? {{/struts}} means your root app is 
Struts and requested it and the root app itself is anticipated to response to 
it, not any other app.

{quote}Because my application tried to load {{/struts/domTT.js}} and obviously 
my server was throwing 404 for that.{quote}

The demand of {{/struts/domTT.js}} means your root app is Struts, isn't it?! If 
it is, then it should work and {{404}} means another issue that should be 
investigated. If it isn't, then I think you should investigate who has 
generated the {{/struts/domTT.js}} (without context path) http request.

> 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