• 大小: 61.42MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2022-12-19
  • 语言: 其他
  • 标签: struts  

资源简介

struts2 框架

资源截图

代码片段和文件信息

/*
 * 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.
 */
package org.demo.rest.example;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

@Results({
    @Result(name=“success“ type=“redirectAction“ params = {“actionName“  “orders“})
})
public class IndexController {

    @Action(“/“)
    public String index() {
        return “success“;
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-09 09:19  struts-2.5.20\
     目录           0  2019-01-09 09:19  struts-2.5.20\apps\
     目录           0  2019-01-09 09:19  struts-2.5.20\docs\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\result\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\result\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\tomcat\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\tomcat\buf\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\tomcat\buf\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\fs\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\util\fs\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\config\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\config\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\servlet\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\servlet\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\listener\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\listener\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\mapper\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\mapper\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\multipart\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\multipart\class-use\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\filter\
     目录           0  2019-01-09 09:04  struts-2.5.20\docs\struts2-core-apidocs\org\apache\struts2\dispatcher\filter\class-use\
............此处省略8353个文件信息

评论

共有 条评论