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
Linux remote SSH uses certificate-secured login (what do you do-zgbn)
Linux Remote SSH Using Certificate Secure Login
Server: Ali Cloud Server
Operating System: CentOS 7 (Linux)
Remote client: Xshell5 (SSH certificate)
Logged in user: root
Create public and private keys on the server side
Log in to the system using the root user and be in the default directory for the current root ...
Posted on Sun, 19 Jul 2020 12:17:54 -0400 by romilbm
CentOS 7 PHP7 Enable session extension
Configuration Guide: http://php.net/manual/zh/refs.basic.session.php http://php.net/manual/zh/session.configuration.php
Use the command:
php -i
Find the information for the printout session block
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => ph ...
Posted on Fri, 10 Jul 2020 11:49:05 -0400 by phpnoobie
CentOS 7 PHP7 Enable session extension
Configuration Guide: http://php.net/manual/zh/refs.basic.session.php http://php.net/manual/zh/session.configuration.php
Use the command:
php -i
Find the information for the printout session block
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => ph ...
Posted on Fri, 10 Jul 2020 11:49:44 -0400 by lovesmith
Three ways of querying hibernate
There are three main query modes common to hibernate: HQL, QBC (named query), and using native SQL query (SqlQuery)
HQL Query
* HQL (Hibernate Query Language) provides a rich and flexible way of querying, and using HQL for querying is also Hibernate's official recommended way of querying.
* HQL is very similar in syntax structure to ...
Posted on Fri, 10 Jul 2020 11:22:31 -0400 by one
Braintree SDK integration and common problem solving
Introduction to Braintree android sdk integration
Drop-in UI integration link:
1.Official Web - drop-in UI Official UI and server interaction (nothing else to do)
2.git address Official demo examples
Interactive schematic diagrams:
Interactive steps:
Your app or web front-end requests a client token from your server in order ...
Posted on Wed, 08 Jul 2020 12:14:01 -0400 by rwachowiak
[Spring] Pure java for Spring-hibernate integration
First import the corresponding jar package for Spring-hibernate
Then prepare the file for the database connectionHibernate.propertiesAlsoJdbc.properties
Hibernate.propertiesFile: Configure the hibernate dialect and automatic table building
hibernate.dialect=org.hibernate.dialect.H2Dialect
hibernate.hbm2ddl.auto=create
Jdbc.propertiesFi ...
Posted on Wed, 08 Jul 2020 10:43:00 -0400 by sineadyd
Prompt access_when timed task is executed in micro messageToken invalidation (short note)
Scenario reproduction: The timer task is working, but when the timer function executes regularly, the error message access_is printed in the logToken fails (or cannot be obtained, etc.), access_in the test tableToken is 0; access_is available when you directly access a link to a timer function yourselfToken.
Reason: When I execute by myself, ...
Posted on Mon, 06 Jul 2020 11:27:41 -0400 by snrecords
Access other nodes through a jumper using the JSCH framework
A set of code for remotely accessing ssh has been developed. Recently, there is a need for a jumper to access the target service.After searching the web for half a day, I didn't find a good example, so I browsed the API of JSCH myself.But look in the clouds.Imagine if port forwarding works by mapping the target node ip:port to localhost:port an ...
Posted on Sun, 05 Jul 2020 11:04:53 -0400 by n8w
Access other nodes through a jumper using the JSCH framework
A set of code for remotely accessing ssh has been developed. Recently, there is a need for a jumper to access the target service.After searching the web for half a day, I didn't find a good example, so I browsed the API of JSCH myself.But look in the clouds.Imagine if port forwarding works by mapping the target node ip:port to localhost:port an ...
Posted on Sun, 05 Jul 2020 11:05:19 -0400 by golden_water