Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a skeleton struts.xml file in /$APP/WEB-INF/classes.

Code Block
titleactionstruts.xml
<!DOCTYPE xworkstruts PUBLIC
    "-//OpenSymphonyApache Software GroupFoundation//XWork 1.1.1DTD Struts Configuration 2.0//EN"
    "http://wwwstruts.opensymphonyapache.comorg/xworkdtds/xworkstruts-12.10.1.dtd">

<xwork>	<<struts><!-- Include framework defaults (from Struts 2 JAR). -->
	<include file="struts-default.xml" />

	<!-- Configuration for the default package. -->
	<package name="default" extends="struts-default">
	</package>
</xwork>struts>

For now, the struts.xml does only two things:

...