The main control file in the Struts framework is the struts-config.xml XML file, where action mappings are specified. This file's structure is described by the struts-config DTD file, which is defined at http://jakarta.apache.org/struts/. A copy of the DTD can be found on the /docs/dtds subdirectory of the framework's installation root directory. The top-level element is struts-config. Basically, it consists of the following elements:
data-sources—A set of data-source elements, describing parameters needed to instantiate JDBC 2.0 Standard Extension DataSource objects
form-beans—A set of form-bean elements that describe the form beans that this application uses
global-forwards—A set of forward elements describing general available forward URIs
action-mappings—A set of action elements describing a request-to-action mapping
Showing posts with label struts. Show all posts
Showing posts with label struts. Show all posts
Thursday, May 8, 2008
Wednesday, May 7, 2008
Types of Struts Taglib
Following are the six Struts libraries:
- Bean Tags
- HTML Tags
- Logic Tags
- Nested Tags
- Template Tags
- Tiles Tags
Subscribe to:
Posts (Atom)