You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

A base configuration file named webwork-default.xml is included in the webwork jar file. This file may be included at the top of your xwork.xml file to include the standard configuration settings without having to copy them, like so:

<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://www.opensymphony.com/xwork/xwork-1.0.dtd"><xwork>
   <include file="webwork-default.xml"/>    
    
   <package name="default" extends="webwork-default">
    ...
    </package>
</xwork>

The contents of webwork-default.xml are here:

Error formatting macro: snippet: java.lang.NullPointerException

This file defines all of the default bundled results and interceptors and many interceptor stacks which you can use either as-is or as a basis for your own application-specific interceptor stacks. Notice the name of the package is "webwork-default".

  • No labels