alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Struts example source code file (xwork-test-package-inheritance.xml)

This example Struts source code file (xwork-test-package-inheritance.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Struts tags/keywords

doctype, doctype, group//xwork, group//xwork, opensymphony, opensymphony, public, public

The Struts xwork-test-package-inheritance.xml source code

<!DOCTYPE xwork PUBLIC
    "-//OpenSymphony Group//XWork 1.1.1//EN"
    "http://www.opensymphony.com/xwork/xwork-1.1.1.dtd"
 >

<xwork>
	<include file="xwork-test-beans.xml" />
    <package name="default" namespace="/default">
        <action name="default" class="com.opensymphony.xwork2.ActionSupport"/>
    </package>

    <package name="abstractPackage" abstract="true">
        <action name="abstract" class="com.opensymphony.xwork2.ActionSupport"/>
    </package>

    <package name="singleInheritance" namespace="/single" extends="default">
        <action name="single" class="com.opensymphony.xwork2.ActionSupport"/>
    </package>

    <package name="multipleInheritance" namespace="/multiple" extends="default,abstractPackage,singleInheritance">
        <action name="multiple" class="com.opensymphony.xwork2.ActionSupport"/>
    </package>
</xwork>

Other Struts examples (source code examples)

Here is a short list of links related to this Struts xwork-test-package-inheritance.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.