You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/05/05 00:00:19 UTC

[jira] Commented: (STR-2858) chain-config.xml file should be explicitly referenced from web.xml file

    [ http://issues.apache.org/struts/browse/STR-2858?page=comments#action_37272 ] 

Don Brown commented on STR-2858:
--------------------------------

I disagree, as I don't think 80% of struts users should know or care about chain.  I think Struts should be moving in the direction of more intelligent defaults and conventions, rather than requiring more configuration. In fact, I'd like to see it possible to not require a struts-config.xml at all, instead defaulting to a wildcarded config file covering most basic patterns.  That isn't quite possible today, but it could be in the near future once we get 1.3.3 out.

> chain-config.xml file should be explicitly referenced from web.xml file
> -----------------------------------------------------------------------
>
>          Key: STR-2858
>          URL: http://issues.apache.org/struts/browse/STR-2858
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Apps
>     Versions: 1.3.2
>     Reporter: Michael Jouravlev
>     Priority: Trivial

>
> I suggest that all Struts 1.3.x samples explicitly use external chain-config.xml file instead of using the one buried in the classpath at org/apache/struts/chain/chain-config.xml. As a consequence, all samples should explicitly refer to chain-config.xml file from web.xml.
> I believe that this will allow to better undertand the inner workings of chain, and to decrease amount of "magic".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira