You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Nicholas (JIRA)" <ji...@apache.org> on 2007/02/08 00:38:16 UTC

[jira] Created: (WW-1718) struts.serve.static=true in struts.properties does not work

struts.serve.static=true  in struts.properties does not work
------------------------------------------------------------

                 Key: WW-1718
                 URL: https://issues.apache.org/struts/browse/WW-1718
             Project: Struts 2
          Issue Type: Bug
          Components: Dispatch
    Affects Versions: 2.0.2
         Environment: win xp, tomcat 5.5 
            Reporter: Nicholas


In older versions this worked, but in 2.0.2 when I set 
struts.serve.static=true in struts.properties, I am still required to puts struts/  before static resource paths. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1718) struts.serve.static=true in struts.properties does not work

Posted by "Matt Finholt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40030 ] 

Matt Finholt commented on WW-1718:
----------------------------------

I was confused by this also. I don't think the documentation is clear at: http://struts.apache.org/2.x/docs/strutsproperties.html

I interpreted as: If set to true, the static items will be available at the context root of my application. If set to false, you must include struts/ in the path.

--------------------------------------------------------------------------------------------------------

### Used by FilterDispatcher
### If true then Struts serves static content from inside its jar. 
### If false then the static content must be available at <context_path>/struts
struts.serve.static=true




> struts.serve.static=true  in struts.properties does not work
> ------------------------------------------------------------
>
>                 Key: WW-1718
>                 URL: https://issues.apache.org/struts/browse/WW-1718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch
>    Affects Versions: 2.0.2
>         Environment: win xp, tomcat 5.5 
>            Reporter: Nicholas
>
> In older versions this worked, but in 2.0.2 when I set 
> struts.serve.static=true in struts.properties, I am still required to puts struts/  before static resource paths. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-1718) struts.serve.static=true in struts.properties does not work

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1718:
---------------------------

    Fix Version/s: 2.0.7

We might need to clarify the documentation. 


> struts.serve.static=true  in struts.properties does not work
> ------------------------------------------------------------
>
>                 Key: WW-1718
>                 URL: https://issues.apache.org/struts/browse/WW-1718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch
>    Affects Versions: 2.0.2
>         Environment: win xp, tomcat 5.5 
>            Reporter: Nicholas
>             Fix For: 2.0.7
>
>
> In older versions this worked, but in 2.0.2 when I set 
> struts.serve.static=true in struts.properties, I am still required to puts struts/  before static resource paths. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-1718) struts.serve.static=true in struts.properties does not work

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted resolved WW-1718.
----------------------------

    Resolution: Not A Problem

> struts.serve.static=true  in struts.properties does not work
> ------------------------------------------------------------
>
>                 Key: WW-1718
>                 URL: https://issues.apache.org/struts/browse/WW-1718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch
>    Affects Versions: 2.0.2
>         Environment: win xp, tomcat 5.5 
>            Reporter: Nicholas
>             Fix For: 2.0.7
>
>
> In older versions this worked, but in 2.0.2 when I set 
> struts.serve.static=true in struts.properties, I am still required to puts struts/  before static resource paths. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-1718) struts.serve.static=true in struts.properties does not work

Posted by "Nicholas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40029 ] 

Nicholas commented on WW-1718:
------------------------------

Sorry, when changing from webwork to struts, there was a misunderstanding.   Please close this issue.
Thanks


> struts.serve.static=true  in struts.properties does not work
> ------------------------------------------------------------
>
>                 Key: WW-1718
>                 URL: https://issues.apache.org/struts/browse/WW-1718
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch
>    Affects Versions: 2.0.2
>         Environment: win xp, tomcat 5.5 
>            Reporter: Nicholas
>
> In older versions this worked, but in 2.0.2 when I set 
> struts.serve.static=true in struts.properties, I am still required to puts struts/  before static resource paths. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.