You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Diego Plentz (JIRA)" <ji...@apache.org> on 2008/08/28 14:32:25 UTC

[jira] Created: (WW-2790) struts.xml configuration problem with

struts.xml configuration problem with <include>
-----------------------------------------------

                 Key: WW-2790
                 URL: https://issues.apache.org/struts/browse/WW-2790
             Project: Struts 2
          Issue Type: Bug
          Components: XML Configuration
            Reporter: Diego Plentz


Using include tag this way:
<include file="/com/xpto/conf/struts-global-conf.xml" />
Just works with Tomcat, and with Jetty fails sillently (if you put a wrong path, it fails silently even with Tomcat). Using this way(without the initial slash):
<include file="com/xpto/conf/struts-global-conf.xml" />
Works in both.

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


[jira] Commented: (WW-2790) struts.xml configuration problem with

Posted by "Diego Plentz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44613#action_44613 ] 

Diego Plentz commented on WW-2790:
----------------------------------

Sorry, I forgot to include in the description of the problem.

struts2-core 2.0.11
xwork 2.0.4

> struts.xml configuration problem with <include>
> -----------------------------------------------
>
>                 Key: WW-2790
>                 URL: https://issues.apache.org/struts/browse/WW-2790
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Configuration
>            Reporter: Diego Plentz
>
> Using include tag this way:
> <include file="/com/xpto/conf/struts-global-conf.xml" />
> Just works with Tomcat, and with Jetty fails sillently (if you put a wrong path, it fails silently even with Tomcat). Using this way(without the initial slash):
> <include file="com/xpto/conf/struts-global-conf.xml" />
> Works in both.

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


[jira] Issue Comment Edited: (WW-2790) struts.xml configuration problem with

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44614#action_44614 ] 

newton_dave edited comment on WW-2790 at 8/28/08 6:17 AM:
----------------------------------------------------------

AFAIK the change wasn't in XW 2.0.4; I'm not sure which version it's in. I know it's in 2.1.mumble (2?). I'm also making the assumption it would fix your problem, which it might not :)

In any case, it's a known XWork issue (http://jira.opensymphony.com/browse/XW-586) and has been fixed.

I'll close this issue as it's an XWork problem, not Struts. If you can verify that it doesn't work with the fix XWork version you can re-open my original XWork bug. (I don't have Jetty and can't verify today.)

      was (Author: newton_dave):
    AFAIK the change wasn't in XW 2.0.4; I'm not sure which version it's in. I know it's in 2.1.mumble (2?). I'm also making the assumption it would fix your problem, which it might not :)

In either case, it's a known XWork issue (http://jira.opensymphony.com/browse/XW-586) and has been fixed.

I'll close this issue as it's an XWork problem, not Struts. If you can verify that it doesn't work with the fix XWork version you can re-open my original XWork bug. (I don't have Jetty and can't verify today.)
  
> struts.xml configuration problem with <include>
> -----------------------------------------------
>
>                 Key: WW-2790
>                 URL: https://issues.apache.org/struts/browse/WW-2790
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Configuration
>            Reporter: Diego Plentz
>
> Using include tag this way:
> <include file="/com/xpto/conf/struts-global-conf.xml" />
> Just works with Tomcat, and with Jetty fails sillently (if you put a wrong path, it fails silently even with Tomcat). Using this way(without the initial slash):
> <include file="com/xpto/conf/struts-global-conf.xml" />
> Works in both.

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


[jira] Closed: (WW-2790) struts.xml configuration problem with

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

Dave Newton closed WW-2790.
---------------------------

    Resolution: Not A Problem

AFAIK the change wasn't in XW 2.0.4; I'm not sure which version it's in. I know it's in 2.1.mumble (2?). I'm also making the assumption it would fix your problem, which it might not :)

In either case, it's a known XWork issue (http://jira.opensymphony.com/browse/XW-586) and has been fixed.

I'll close this issue as it's an XWork problem, not Struts. If you can verify that it doesn't work with the fix XWork version you can re-open my original XWork bug. (I don't have Jetty and can't verify today.)

> struts.xml configuration problem with <include>
> -----------------------------------------------
>
>                 Key: WW-2790
>                 URL: https://issues.apache.org/struts/browse/WW-2790
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Configuration
>            Reporter: Diego Plentz
>
> Using include tag this way:
> <include file="/com/xpto/conf/struts-global-conf.xml" />
> Just works with Tomcat, and with Jetty fails sillently (if you put a wrong path, it fails silently even with Tomcat). Using this way(without the initial slash):
> <include file="com/xpto/conf/struts-global-conf.xml" />
> Works in both.

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


[jira] Commented: (WW-2790) struts.xml configuration problem with

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44612#action_44612 ] 

Dave Newton commented on WW-2790:
---------------------------------

What version of Struts? This was an XWork issue that was fixed (AFAIK) but I don't recall which version.

> struts.xml configuration problem with <include>
> -----------------------------------------------
>
>                 Key: WW-2790
>                 URL: https://issues.apache.org/struts/browse/WW-2790
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Configuration
>            Reporter: Diego Plentz
>
> Using include tag this way:
> <include file="/com/xpto/conf/struts-global-conf.xml" />
> Just works with Tomcat, and with Jetty fails sillently (if you put a wrong path, it fails silently even with Tomcat). Using this way(without the initial slash):
> <include file="com/xpto/conf/struts-global-conf.xml" />
> Works in both.

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