| <?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> |
| <global-forwards> |
| <forward name="app1" path="/app1/address2.do" redirect="true" /> |
| <forward name="app1Jsp" path="/app1/address1.do" redirect="true" /> |
| <forward name="app2" path="/app2/demo.do" redirect="true" /> |
| <forward name="app2Src" path="/app2/demoSrc.do" redirect="true" /> |
| <forward name="app3" path="/app3/welcome_vm.do" redirect="true" /> |
| <forward name="app3Jsp" path="/app3/welcome_jsp.do" redirect="true" /> |
| <forward name="app4" path="/app4/index_vm.do" redirect="true" /> |
| <forward name="app4Jsp" path="/app4/index_jsp.do" redirect="true" /> |
| <forward name="app4Mixed" path="/app4/index_mixed.do" redirect="true" /> |
| <forward name="app5" path="/app5/index_vm.do" redirect="true" /> |
| <forward name="app5Jsp" path="/app5/index_jsp.do" redirect="true" /> |
| <forward name="app6" path="/app6/true.do" redirect="true" /> |
| <forward name="app6Jsp" path="/app6/true_jsp.do" redirect="true" /> |
| <forward name="app7" path="/app7/true.do" redirect="true" /> |
| <forward name="app7Jsp" path="/app7/true_jsp.do" redirect="true" /> |
| <!--forward name="math" path="/examples/context_tools/mathtool-demo.vm" redirect="true" /> |
| <forward name="mathSrc" path="/examples/context_tools/mathtool-demo.txt" redirect="true" /> |
| <forward name="header" path="/examples/request_headers/list.vm" redirect="true" /> |
| <forward name="headerJsp" path="/examples/request_headers/list.jsp" redirect="true" /--> |
| </global-forwards> |
| <action-mappings> |
| <action forward="/index.vm" path="/index" /> |
| <action forward="/examples.vm" path="/examples" /> |
| </action-mappings> |
| </struts-config> |