Use IDEA to create Maven project, integrate spring MVC and MyBatis framework, and complete a simple check-in program

catalogue Environment construction database Create Maven project Configuration item Write project Create package structure Writing back-end code pojo package util package   service package serviceimpl package controller package Create front-end display page Possible problems Tomcat startup failed. Garbled code problem We ...

Posted by davidjam on Sat, 09 Oct 2021 03:00:56 -0700

Knowledge system of Web front end development engineer_ 35_JavaScript jQuery (final)

1, Ajax $.ajax({ url:"Server interface address", type:"get or post", //Request type data:{ //If there are no parameters, they can be omitted Parameter name: Parameter value, ... : ... }, dataType:"json", //Automatically call JSON.parse() to convert the json string returned by the server into an array or object directly ...

Posted by Smeep on Fri, 08 Oct 2021 17:13:12 -0700

Vue quick start

Vue quick start (Part 2) (for emergency use) 8, Asynchronous communication using Axios (emphasis) 8.1 what is Axios Axios is an open source asynchronous communication framework that can be used in browser and Nodejs. Its main function is to realize Ajax asynchronous communication. Its functional features are as follows: Create XMLHttpRe ...

Posted by ricky spires on Wed, 06 Oct 2021 07:46:26 -0700

GET, POST and REQUEST usage in PHP

GET, POST and REQUEST usage in PHP I$_ GET array GET is the most primitive request method in HTTP. Clicking a hyperlink in a web page or entering a URL in the address bar will send a GET request. In the GET request, the data is sent after the URL, just like this: HTTP://www.phpboke.com/request.php?id=root&password=asdfl . PHP encapsulate ...

Posted by markhard on Tue, 05 Oct 2021 13:17:10 -0700

02_ Cross domain problem summary

Cross domain problem summary 1. Why is there a cross domain problem? The reason is that the browser adopts the Same origin policy for security 2. What is homology strategy? 1. Homology strategy is composed of Netscape A well-known security policy is proposed, which is now supported by all JavaScript All browsers will use this strategy. ...

Posted by samafua on Fri, 01 Oct 2021 16:43:03 -0700

CORS detailed explanation and treatment method

CORS detailed explanation and treatment method reference resources: http://javascript.ruanyifeng.com/bom/cors.html CORS (cross origin resource sharing): cross source resource sharing allows browsers to send XMLHttpRequest requests to from different sources, which overcomes the limitation that ajax can only be used from the same source. Moder ...

Posted by cheechm on Thu, 30 Sep 2021 17:12:14 -0700

Mobile page adaptive layout -- rem

  rem layout and introduce js code into the page. (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function () { var clientWidth = docEl.clientWidth; if (!clientWidth) return; if (clientWidth > 1024) { docEl.s ...

Posted by eyaly on Sun, 26 Sep 2021 20:23:39 -0700

axios token authority authentication request mechanism, and the front end realizes senseless refresh

axios token authority authentication request mechanism Detailed explanation of parameter attributes Mechanism process 1. Login The user enters the account and password to log in. After successful login, save the user information, token and other information to the local localstorage. 2. Add request header to global axios When importing th ...

Posted by deljhp on Fri, 24 Sep 2021 00:49:17 -0700

JQuery entry level - Basic

1. Simple introduction to JQuery 1.1 introduction to JQuery jQuery is a JavaScript library.The so-called library is a JS file, which encapsulates many predefined functions, such as obtaining elements, performing hiding, moving, etc. The purpose is to call directly when in use without repeated definition, which can greatly simplify JavaScr ...

Posted by pacmon on Wed, 22 Sep 2021 21:51:42 -0700

jQuery introduction to proficient learning tutorial, collect my article is enough

Hello, I'm hottie. I'll organize jQuery learning tutorials for you today.   catalogue 1, Introduction to jQuery 2, Usage of jQuery 3, jQuery selector 4, Selection set filtering 5, Selection set transfer 6, Get and set element content 7, Get and set element properties 8, jQuery event 9, Event agent 10, JavaScript object 11, json ...

Posted by blmg911 on Wed, 22 Sep 2021 01:02:59 -0700