- Java EE程序設計與開發實踐教程
- 馮志林編著
- 142字
- 2021-10-27 17:05:36
6.3.1 Struts2框架的配置文件
Struts2框架的配置文件主要包括5個:web.xml、struts.xml、struts-default.xml、struts.properties和struts-plugin.xml。Struts2的核心庫包(2.1.8版本)主要包含了圖6-6左邊共11個jar文件:

圖6-6 Struts2的核心庫包
2個Struts2配置文件(struts-default.xml和struts-plugin.xml)分別包含在圖6-6右邊的2個jar包中:
● struts-default.xml包含在struts2-core-2.1.8.jar中。
● struts-plugin.xml包含在struts2-dojo-plugin-2.1.8.jar中。
其他3個Struts2配置文件(web.xml、struts.xml和struts.properties)是包含在新建的Web工程中的。
推薦閱讀
- 新編Visual Basic程序設計上機實驗教程
- Drupal 8 Blueprints
- Python自動化運維快速入門
- 我的第一本算法書
- PHP 編程從入門到實踐
- Oracle Database 12c Security Cookbook
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- Apache Spark 2.x for Java Developers
- Learning ArcGIS for Desktop
- Linux C編程:一站式學習
- 一塊面包板玩轉Arduino編程
- Python Essentials
- Android編程權威指南(第4版)
- Microsoft Exchange Server 2016 PowerShell Cookbook(Fourth Edition)
- Java程序設計入門(第2版)