mybatis source code interpretation II - full analysis of call process

Official documents Interpret according to the jdbc stage of preliminary preparation to configureSplicing sql statementsLoad the data source and get the ConnectionGet StatementExecute get resultsResult conversioncloseexception handling Example 1: com.dzq.MybatisSessionTest The most basic function, read the source code according to t ...

Posted on Wed, 01 Dec 2021 04:06:01 -0500 by unclebob

jsp, operate the varStatus attribute in the c:foreach tag to implement mouse events

catalogue Effect display Implementation code 1. Front end jsp code (focus on front-end code) 2. Front end js code (focus on front-end code) About varStatus in c:foreach tag Effect display           Note: in the jsp page, use the < C: foreach > tag to traverse all the commodities in ...

Posted on Fri, 26 Nov 2021 10:19:51 -0500 by whitepony6767

[Jsp] Lesson 9 learning and using EL expressions

What is EL? EL is Expression Language jsp's built-in expression language can be used directly from jsp 2.0 Functions of EL Used instead of <% =..% > EL syntax ${EL expression} 1. Obtain data in the four scopes Basic Usage Get data in the domain: ${pageScope|requestScope|sessionScope|applicationScope. Property name} ${attribute ...

Posted on Mon, 22 Nov 2021 11:53:55 -0500 by budimir

web resource library project based on Java web -- background resource management demo

The user management in the background is completed, and the implementation principle of resource management is similar to that of user management. Here, the code of resource management is given directly Table design Resource management requires two tables, one is the resource table for managing user resources, and the other is the categ ...

Posted on Thu, 30 Sep 2021 16:27:41 -0400 by jdavidbakr

web resource library project based on Java web -- background user management demo

web resource library project based on Java web -- implementation of background user management Overall background page structure Users are divided into students, teachers and administrators, and administrators will jump to the background welcome page when logging in. Through observation, we can know that the welcome page, the mana ...

Posted on Wed, 29 Sep 2021 00:13:36 -0400 by ubuntu-user

JSP student management system

The prototype of this example is the student management system connected to the database by JDBC, which is placed in the Servlet container and realizes the relevant interactive functions. The same as the original content are configuration files (Properties), connection database (BaseDAO), teacher classes, teacher interfaces and implementations. ...

Posted on Mon, 20 Sep 2021 04:09:55 -0400 by amir1985

Java project: design and implementation of second-hand trading website (java+ssm+mysql+jsp)

1, Introduction 2 1.1 research background 2 1.2 research purpose and Significance 2 1.3 research contents 3 1.4 feasibility study design 3 1.5 social feasibility 4 1.6 relevant technical description 4 spring 4 Spring 5 jQuery 5 Mysql 6 1) Powerful 6 2) Support cross platform 6 3) Fast running speed 6 4) Support object-oriented 7 ...

Posted on Fri, 10 Sep 2021 05:38:09 -0400 by nick2005

When ajax parses json data, date appears in seconds (1511352532000)

1. Description of the problem: When parsing json data through ajax on a jsp page, it is found that date-type data is displayed in seconds, similar to 1511352532000. 2. Analysis: The format 1511352532000 is a millisecond format for date-type data, which means that it is a problem with the display format of the data, because the background ...

Posted on Sun, 19 Jul 2020 12:23:03 -0400 by taskhill

Separation of dynamic and static state by Nginx+Tomcat

Add group groupadd www Add user WWW: useradd - G www under www group Modify configuration file nginx.conf : user www www; worker_processes 2; events{ worker_connections 1024; } http{ #Set the default type to binary stream default_type application/octet-stream; server_names_hash_bucket_size 128; #Specify the hea ...

Posted on Wed, 01 Jul 2020 11:01:33 -0400 by dinno2

JSP--JSTL (JSP Standard Tag Library)

JSP--JSTL (JSP Standard Tag Library) Blog description The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! concept JavaServer pages tag library JSP standard tag library Is an open so ...

Posted on Sun, 28 Jun 2020 02:19:01 -0400 by wing_zero