Women in Technology

Hear us Roar



Article:
  Extending Struts
Subject:   onCache should be oncache
Date:   2005-09-14 08:41:46
From:   payaya
in this code snippet:



<controller>
<set-property property="noCache" value="true"/>
</controller>

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • onCache should be oncache
    2006-04-17 07:24:14  philip.busby [View]

    agreed. please change to


    <controlller>
    <set-property property="nocache" value="true"/>
    </controller>


    the Struts manual says config should actually be

    <controller nocache="true"></controller>


    the set-property elements are there for when one extends the ControllerConfig bean and wants to specify init inputs to setters but doesn't want to break the XML schema.