This article for everyone to share the JSP custom label Introductory Learning course, I hope you like.
1.JSP Custom Label:
Custom labels are user-defined JSP language elements. When a JSP page contains a custom label, it is converted to a servlet,
This article describes the JSP using JDBC to complete dynamic validation and the use of MVC to complete the data query method. Share to everyone for your reference. Specifically as follows:
First, the goal:
① Master the basic process of JDBC link
JSP call Javeabean command Usebean has scope settings, generally have application session page, and so on, page is the Usebean of each page to recreate the JavaBean new objects, the general situation is this, If you are sharing data between multiple
Introduction
Java 2 Enterprise Edition technology has been widely used in Web application development, in which the JavaBean, servlet technology for developers to provide a clearer development environment, using JSP Technology Performance page, Use
Js| Program | Verification code
Generate 4 random numbers and clutter background pictures, the number and background color will change, server-side refresh (with History.go (-1) will also change)File image.jsp that produces the captcha picture
js| Error | Error handling
Error-handling page error.jspWeb applications typically have one or more unified error-handling JSP pages that provide a friendly form of feedback to the user in the event of a functional JSP page error. A friendly and
Js|session on a classic website, visitors can browse several Web pages and perform some interactive behavior. If you are writing such a website, it is very useful to use some data from each user. For this purpose, we can use the "sessions" in the
JS JSP pages are used to define a tag library and prefix using taglib directive from the definition tag.
its syntax:
Example:
.
Description:
The Directive (Directive) allows you to use custom labels, name the tag libraries,
Many Web applications, enterprise applications involve long operations, such as complex database queries or heavy XML processing, although these tasks are mainly done by the database system or middleware, but the results of the task execution still
Is your Java application running very slowly? Can they afford to keep up with the rising traffic? This article describes the development of high-performance, highly resilient JSP pages and the performance optimization of the servlet technology. The
I. Introduction of JSP directivesJSP directives (Directive) are designed for the JSP engine, and they do not directly produce any visible output, but simply tell the engine how to handle the rest of the JSP page.The three directives are defined in
Javaweb Learning Summary (16)--jsp Directive I. Introduction of JSP directiveJSP directives (Directive) are designed for the JSP engine, and they do not directly produce any visible output, but simply tell the engine how to handle the rest of the
I. Basic jsp and serlvet Chinese garbled solutions(The complete solution notes are provided before, and you will not be able to post them if you are free of time)II. apache commons-fileupload was used as the upload component in October 2011. Garbled
Database operation applications of assumerver Pages + JavaBeansThe preceding describes a simple counter example of a JavaBean application. Of course, in the actual procedure, more database-related operations are involved, in this section, we will
This section involves two pages. One donewuser. jsp file is used to add records, and the other listuser. jsp file is used to add records.Displays information about all registered users. The two pages involve the specific call of JavaBean. Let's take
How to access the database in JSPJSP is a dynamic web page technical standard proposed by Sun and established by many companies. With JSP technology, Web page developers can use HTML or XML tags to design and format the final page. Use JSP Tags or
What are Tomcat vulnerabilities?Tomcat 3.1 exposed website Path ProblemsTomcat 3.1 is a software developed in the Apache software environment that supports JSP 1.1 and Servlets 2.2. It has a security problem. When a non-existent jsp request is sent,
Since learning jsp, it has been affected by the MVC2 mode. It may have been a bit more chance to write code before. Few page items. Therefore, I have always felt that jsp pages have always been the first choice for development. In this way,
// Welcome to complete reference, reprint, you can contact me through http://www.dev-club.com.Entry to Struts practiceAuthor: eight-legged fish1. IntroductionStruts is an open source code project of apache Jakarta
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service