Struts 2
Struts是Apache Jakarta的一个著名的开源项目,目标是为构建基于Java的web应用程序提供一个框架。
Struts提供了非常多的标签,依据功能和使用习惯的不同被分到了五个标签库中:
- Bean Tags:该标签库包含的标签可以用来创建bean、访问bean和访问bean的属性。同时提供了依据cookies、headers和parameters的值创建相关bean的能力。
- HTML Tags:该标签库包含的标签可以用来创建Struts输入表单。
- Logic Tags:该标签库包含的标签可以用来进行逻辑判断、集合迭代和流程控制。
- Nested Tags:该标签库建立在前三个标签库的基础上,具有前三个标签库的所有功能,只是允许标签间的嵌套。
- Tiles Tags:该标签库包含的标签可以用来创建tiles样式的页面。
分享到:
相关推荐
### Struts Step by Step 教程 #### 1. 前言 本文档旨在指导开发者逐步构建一个基于Struts框架的应用程序。本教程适用于初学者以及具有一定经验的开发人员,帮助他们熟悉Struts框架的基本组件及其使用方式。文档...
struts1.3.9 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the ...
Other solutions do not—those that fail to serve the needs of users and add value usually fall by the wayside. <br>Through this evolutionary process, the Jakarta Struts framework (created by Craig...
pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation...
* 1.4: Add option to disable tiling by default, add per-desktop layout configuration (as a line of text currently), add shortcut to toggle borders on all clients (M-S-U), add shortcuts to resize the ...
8. 程序无错,final修饰的int x在addOne方法内部不能被修改。 9. 程序题: - "abcd1234"逆序输出,可以使用StringBuilder或StringBuffer的reverse()方法。 - 单例模式实现,可以使用饿汉式(静态常量)或懒汉式...
程序将输出"one", "two", "default",答案是c) one, two, default。 5. **程序输出"Less than 20"的值**: 这个问题涉及到Java的变量作用域和类型转换。由于`i`未初始化就使用,程序会抛出`NullPointerException`...