THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Create a skeleton struts.xml
file in /$APP/WEB-INF/classes
.
Code Block | ||
---|---|---|
| ||
<!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:
...