简要介绍资料的主要内容,以获得更多的关注
一、struts2简介
1 struts2的配置文件:
(1)struts.xml 配置示例:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"doc.guandang.net;
<struts>
<package name="default" namespace="/" extends="struts-default">
<default-action-ref name="index" />
<action name="index">
<result type="redirectAction">
<param name="actionName">HelloWorld</param>
<param name="namespace">/example</param>
</result>
</action>
</package>
<!-- Add packages here -->
</struts>
(2)struts.properties配置文件
#
# $Id: struts.properties 722328 2008-12-02 01:56:24Z davenewton $
#
# 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
#
# doc.guandang.net
#
# 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.
#
1/2 相关文档推荐 struts2根据struts2完全... 16页 免费 Struts架构学习手册 ...Struts 2.0技术学习总结 暂无评价 4页 1下载券 Struts 2.0例子学习-exa......
struts2学习总结 1页 免费 struts2根据struts2完全学... 16页 免费 Struts2课堂...struts2 入门参考手册 68页 8财富值 第六章 数据库基础1 暂无评价 57页 5...
Struts2完全教程总结_计算机软件及应用_IT/计算机_专业资料。该文档所有代码全部通过...教程 1:第一个 Struts2 程序 在本系列教程中我们将学习到 Struts2 的各种...
struts2面试题(自己总结)_计算机软件及应用_IT/计算机...一起来学广场舞 广场舞活动方案 社区广场舞策划方案...struts2根据struts2完全... 16页 免费 struts2面试...
struts2学习小结_计算机软件及应用_IT/计算机_专业资料。一. 配置问题: 最新的...“包”可以把你的 action 包裹进来,然后在里面定义自己的 action 可以定义 N ...
struts2学习总结_计算机软件及应用_IT/计算机_专业资料。struts2 Java1.struts2访问过程 a.客服端请求被web.xml中的filterdispatcher 拦截 b.filterdispatcher 读取st...
4. 在 web.xml 配置文件中,添加 Struts 的支持(配置一个 filter 过滤器) ...struts2学习总结 13页 1下载券 Struts2总结文档 8页 免费 struts2应用总结 6...
4.struts.properties(核心 管理属性) 自己配置的 5.default.properties(核心 ...struts2根据struts2完全... 16页 免费 Struts2总结 20页 免费 struts2学习笔记...
Struts2总结_IT/计算机_专业资料。Struts2总结今日推荐 160份文档 四级养生 中医...1/2 相关文档推荐 struts2根据struts2完全... 16页 免费 struts2学习笔记+...
-- 定义自己的拦截器 --> <interceptor name="myInterceptor" class="com....struts2学习总结 13页 1下载券 Struts2总结文档 8页 免费 struts2应用总结 6...
热门文档