文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > struts2根据struts2完全学习手册 自己总结
侵权投诉

struts2根据struts2完全学习手册 自己总结

简要介绍资料的主要内容,以获得更多的关注

一、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页

你可能喜欢

  • 个人自我总结
  • 学习自我鉴定
  • 2012个人年终总结
  • 13年工作总结
  • 110工作总结

热门文档

相关文档

  • Struts 2完全学习手册

    1/2 相关文档推荐 struts2根据struts2完全... 16页 免费 Struts架构学习手册 ...Struts 2.0技术学习总结 暂无评价 4页 1下载券 Struts 2.0例子学习-exa......

  • struts2总结学习

    struts2学习总结 1页 免费 struts2根据struts2完全学... 16页 免费 Struts2课堂...struts2 入门参考手册 68页 8财富值 第六章 数据库基础1 暂无评价 57页 5...

  • Struts2完全教程总结

    Struts2完全教程总结_计算机软件及应用_IT/计算机_专业资料。该文档所有代码全部通过...教程 1:第一个 Struts2 程序 在本系列教程中我们将学习到 Struts2 的各种...

  • struts2面试题(自己总结)

    struts2面试题(自己总结)_计算机软件及应用_IT/计算机...一起来学广场舞 广场舞活动方案 社区广场舞策划方案...struts2根据struts2完全... 16页 免费 struts2面试...

  • struts2学习小结

    struts2学习小结_计算机软件及应用_IT/计算机_专业资料。一. 配置问题: 最新的...“包”可以把你的 action 包裹进来,然后在里面定义自己的 action 可以定义 N ...

  • struts2学习总结

    struts2学习总结_计算机软件及应用_IT/计算机_专业资料。struts2 Java1.struts2访问过程 a.客服端请求被web.xml中的filterdispatcher 拦截 b.filterdispatcher 读取st...

  • Struts2总结

    4. 在 web.xml 配置文件中,添加 Struts 的支持(配置一个 filter 过滤器) ...struts2学习总结 13页 1下载券 Struts2总结文档 8页 免费 struts2应用总结 6...

  • Struts2知识点总结

    4.struts.properties(核心 管理属性) 自己配置的 5.default.properties(核心 ...struts2根据struts2完全... 16页 免费 Struts2总结 20页 免费 struts2学习笔记...

  • Struts2总结

    Struts2总结_IT/计算机_专业资料。Struts2总结今日推荐 160份文档 四级养生 中医...1/2 相关文档推荐 struts2根据struts2完全... 16页 免费 struts2学习笔记+...

  • Struts2 总结

    -- 定义自己的拦截器 --> <interceptor name="myInterceptor" class="com....struts2学习总结 13页 1下载券 Struts2总结文档 8页 免费 struts2应用总结 6...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email