| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <struts-config> |
| <form-beans> |
| <form-bean name="demoForm" type="examples.app2.DemoForm" /> |
| </form-beans> |
| <global-forwards> |
| <forward name="src" path="/tool-demo.vm" /> |
| </global-forwards> |
| <action-mappings> |
| <action name="demoForm" path="/demo" scope="request" type="examples.app2.DemoAction" validate="false"> |
| <forward name="home" path="/tool-demo.vm" /> |
| </action> |
| <action forward="/tool-demo.txt" path="/demoSrc" /> |
| </action-mappings> |
| <message-resources parameter="examples.app2.ApplicationResources" /> |
| </struts-config> |