prepare usage of MySQL

MySQL officially refers to prepare, execute and deallocate as PREPARE STATEMENT, which is used to be called preprocessing statement. The following is a detailed introduction. Sample code PREPARE stmt_name FROM preparable_stmt EXECUTE stmt_name [USING @var_name [, @var_name] ...] - {DEALLOCATE | DROP} PREPARE stmt_name   Here's a chestnut ...

Posted on Sun, 05 Apr 2020 01:42:57 -0700 by dsinghldh

java making verification code (java verification code applet)

Making java verification code manually Composition of Web application verification code: (1) Input box (2) Picture showing verification code Production process of verification code:                                      The container that generates the verification code uses the servlet of j2ee Classes needed to generate images: (1) BufferedImag ...

Posted on Sat, 04 Apr 2020 19:40:19 -0700 by jcbones

Call another interface button through Win32API

Function description There are two independent winform interfaces created by two teams. One team operates the button of the other team's interface under the premise of unknown source code. Exhibition The main interface is as follows: The sub interface is as follows: There is a button (test) in the sub interface. Click this button to pop ...

Posted on Sat, 04 Apr 2020 05:36:49 -0700 by holladb

Impact of using OpenSessionInViewFilter

Test controller method: @ResponseBody @RequestMapping(value = "/testFlush/json", produces = SystemHWUtil.RESPONSE_CONTENTTYPE_JSON_UTF) public String json2(Model model, HttpServletRequest request, HttpServletResponse response , int id) { // Session session=this.houseEvaluateDao.getSessionFactory().getCurrentSession( ...

Posted on Sat, 04 Apr 2020 03:32:01 -0700 by konigwolf

SpringMVC Execution Process Resolution

Spring is known to people who have done java development, but even if they don't know it now, they will gradually know that because of its huge size and many modules, I will introduce the Spring MVC that is used in business development (90% of people are doing business development after years of experience).          First, let's look at how Sp ...

Posted on Fri, 03 Apr 2020 23:20:09 -0700 by papaface

centos installs nginx and configures load balancing

 1. Install nginx Installation tutorial, refer to: http://mp.weixin.qq.com/s/RVaRlRpHqZRjCaXGmOlfKw 2. Configuration of reverse agent Modify the contents of nginx.conf file in the conf subdirectory under the deployment directory location / {                 #Set the host header and the real address of the client s ...

Posted on Fri, 03 Apr 2020 14:27:54 -0700 by Okami

Python uses Tesseract library to identify and verify (24)

(1) About Tesseract Tesseract is an OCR Library (OCR is the abbreviation of Optical Character Recognition in English). It is used to scan the text data, and then analyze and process the image file to obtain the text and layout information. Tesseract is currently recognized as the best and relatively accurate OCR library. (2) ...

Posted on Fri, 03 Apr 2020 08:58:10 -0700 by wiggst3r

ajax cross domain problem and cross domain loss seesion problem

Cross domain issues encountered in the project. So record it. Project A (ajax mode) requests to project B. 1: You need to do some configuration in B to add a filter My is spring MVC package net.pt365.cms.api.spring.security; import org.springframework.stereotype.Component; import javax.servlet.*; import javax.servlet.htt ...

Posted on Thu, 02 Apr 2020 04:34:48 -0700 by wikstov

About Douban login and the method of input verification code

Recently, I want to learn the knowledge of analog login, so I have a simple login of Douban account. Here is the code: # -*- coding:utf-8 -*- '''Douban simulated landing, and achieved a state of hair''' import requests session = requests.session() header = {"Host": "www.douban.com", "Referer": "https://www.douban.com/", ...

Posted on Wed, 01 Apr 2020 21:17:46 -0700 by zTagged

On the usage of traversing set attributes with jstl Tags

  in MVC Model, Model or Map is usually used to store Model data in Request domain or Session domain, so that the Model data put in the back-end controller can be obtained from the front-end page of WEB project. The set attributes often need to be rendered into a table form on the page. The following record is abou ...

Posted on Wed, 01 Apr 2020 11:39:34 -0700 by Undrium