Struts User and Development Guide (Preface 3)
0.9 xml language
Many objects provided by the Struts framework are provided by deploying XML configuration files. Configuration of javaWeb applications is also provided through XML files.
For more information about XML configuration files and Java Web applications, please refer to:
Configuring Web applications in The Java Web Tutorial http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp4. Html#64678;
For how to use XML files in ordinary Java applications, you can refer to the Java API for XML PRocessing in The Java Web Services Tutorial. The Struts framework makes full use of this API internally, and Struts developers may not use it when developing their own applications.
0.9.1 Descriptors
When Java applications use XML configuration files, elements are often used as descriptors, and the application does not directly use XML elements. These elements are used to create and configure (or deploy) Java objects.
The Java Servlet platform uses XML configuration files to deploy Servlets. Similarly, the Struts framework also uses XML files to deploy objects used by the framework.
0.10 Other layers (layers)
The Struts framework provides the controller layer of web applications. Developers can use some other standard technologies to provide a data access layer and a presentation layer to work together with the controller layer. Commonly used popular data access technologies include:
.Enterprise Java Beans;
.Hibernate;
.iBATIS;
.JDBC;
.Object Relational Bridge; late ;
. You can specify security roles between actions.
The above is the content of the Struts users and development guide. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Guide to the Design and Development of PHP Mall Product Management System Summary: This article will introduce how to use PHP to develop a powerful mall product management system. The system includes functions such as adding, editing, deleting, and searching products, as well as product classification management, inventory management, and order management. Through the guide in this article, readers will be able to master the basic processes and techniques of the PHP development mall product management system. Introduction With the rapid development of e-commerce, more and more companies choose to open shopping malls online. As one of the core functions of the mall, the product management system

With the development of the Internet, websites have become an important way for people to obtain information and communicate. In order to better manage and maintain website content, CMS (Content Management System) system came into being. As a commonly used website building tool, CMS system provides a simple, fast and efficient way to build and manage websites. As a powerful back-end language, PHP is widely used in CMS system development. This article will explain to you CM in PHP

Getting Started Guide to PHP WebSocket Development: Explore together ways to implement various functions Introduction: With the development of the Internet, real-time communication is becoming more and more important. The traditional HTTP protocol is relatively weak in real-time performance, while the WebSocket protocol can provide a more efficient real-time communication solution. As a common server-side language, PHP can also implement real-time communication functions through WebSocket. This article will introduce the introductory knowledge of PHPWebSocket development and some common

PHP Development Guide: How to Implement Website Access Control When developing a website, protecting user data and ensuring the security of sensitive information is crucial. A common and effective method is to restrict different users' access to different pages through website access control. This article will introduce how to use PHP to implement website access control and provide some code examples to help you get started quickly. Step 1: Create a database table First, we need to create a database table to store user information and permissions. Below is an example MySQL

PHPExchange Mailbox Development Guide: Implementing Main Functions Step by Step With the rapid development of the Internet, email has become an indispensable part of people's daily life and work. As a commonly used enterprise-level email solution, Exchange mailbox provides more powerful and secure email functions. This article will provide readers with a PHP Exchange mailbox development guide to help readers build their own Exchange mailbox system by implementing the main functions step by step. Step 1: Build

With the gradual popularity of WeChat public accounts in social networks, more and more developers have begun to get involved in the field of WeChat public account development. Among them, PHP, as a common back-end programming language, has also begun to be widely used in the development of WeChat public accounts. This article will introduce the basic knowledge and common techniques of PHP in WeChat public account development. 1. Basics of PHP and WeChat public account development WeChat public account development WeChat public account refers to an Internet application based on the WeChat platform, which can provide users with different types of services and content, such as information push

PHP Development Guide: Implementing a Simple Friend Link Function Friend links are a common function on websites. Through friend links, you can establish mutual recommendation and mutual friend relationships with other websites, increasing website traffic and user conversion rate. In this article, we will introduce how to use PHP to develop a simple friendly link function. Create a database table First, we need to create a table in the database to store friendly link information. The table structure can be created using the following SQL statement: CREATETABLE`links`(

HR (Human Resources) management system is a very important piece of software in modern enterprises. It can assist enterprises in managing human resources, including employee file management, salary and benefit management, attendance management, performance appraisal management, training management and other aspects. In the daily operations of an enterprise, the quality of the HR management system directly affects the efficiency and operational quality of the enterprise. This article will explain the development guide in detail for the HR management system developed in PHP. System Requirements Analysis Before developing the HR management system, it is first necessary to analyze the system requirements.
