Hi guys, 

Shouldn't we have the xwork stuff in xwork-default.xml? In struts-default.xml,

There's some common beans like 

    <bean class="com.opensymphony.xwork2.ObjectFactory" name="xwork" />
    <bean type="com.opensymphony.xwork2.ObjectFactory" name="struts" 
class="org.apache.struts2.impl.StrutsObjectFactory" />
    
    <bean type="com.opensymphony.xwork2.ActionProxyFactory" name="xwork" 
class="com.opensymphony.xwork2.DefaultActionProxyFactory"/>
    <bean type="com.opensymphony.xwork2.ActionProxyFactory" name="struts" 
class="org.apache.struts2.impl.StrutsActionProxyFactory"/>
    ...

<bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" name="tiger" 
class="com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer"/>
    <bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" 
name="notiger" 
class="com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer"/>
    <bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" 
name="struts" class="com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer"/>

..
<bean class="com.opensymphony.xwork2.util.OgnlValueStack" static="true" />

that might be better if moved to xwork-default.xml Am I missing somthing?

rgds    

    



 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to