the code is as follows public static void main(String[] args) { String text = "2018-11-26-13:50:00"; SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd-hh:mm:ss"); sdf.setLenient(false); try { ...
...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <property name="LOG_HOME" value="e: log" > <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">...
each person starts the game with a different Rank (a total of 14 Rank) and selects two people to answer the question pk,. How to design this algorithm? suppose that after I click to start the game, I send my request to enter a game to the server, and ...
after compiling exception capture, what do you usually do, just simply print the exception information? ...
Java exception will cause program interruption. If you use try to catch the exception and then catch to handle it, the program will not be interrupted. If throws throws the exception and does not handle it, it will still cause program interruption. Is it...
for example, the title is a cached resource, how to actually operate it? <link rel="stylesheet" href="build css ui-box.css"> <script src="common comm.js" type="text javascript" charset="utf-8"&...
use springboot + shiro for permission control, and access will be redirected to login.jsp when you are not logged in. If the front and back ends are separated and nginx is used as a proxy, cross-domain problems will occur. : ...
I ve been looking for it for a long time, but I can t find it. 1. After the direct upload of web is completed, the server cannot know whether the file was uploaded successfully, who uploaded it, and the information of the file 2. Using web to dire...
Why did spring fail to automatically match fields? Wechat s front end reads as follows: Java: ...
to start a new project, the Java background sends sensitive video file data stored in the file server to the front end for playback but cannot be downloaded. It is currently intended to convert the file into a binary stream and send it to the front end f...
how to match floating point exact 1 digits and integers using match ...
write the program for uploading files in java. There is no problem with deployment on other servers in Aliyun. but after deployment in the customer s own server room, my visit to the upload page IE11 reports the following error SCRIPT7002: XMLHttpReq...
such as the question, with asynchronous functions also deal with data, but how to feedback to the foreground? It would be nice to give some ideas ...
prepare to start an app background development. The basic framework is spring, spring mvc, mybatis (write), jdbctemplate (read). in order to deal with the problem of high concurrency in the future, what designs or technologies are best carried out in ...
FileInputStream fis = new FileInputStream (); int t = fis.read; how to see that the read method returns a number of type int? The source code is not implemented? ...
topic description projects use vue 2.x, element-ui customers have a need: customers are used to using the enter key to switch the focus of the control on the page, and the customer wants to press the enter key on the keyboard to achieve the next comp...
it s a bit redundant to write every page once. How do you usually solve this problem? ...
Mobile page, want to call mobile phone location and photo albums and other mobile phone functions, is there any simple solution to do this? Is there any other app like Alipay that calls these functions through the native mobile phone api? ...
as the title: the img tag does not display pictures in Firefox! Other browsers can this is my code: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>< title> < head> ...
crate Weex instance WXSDKInstance mInstance = new WXSDKInstance(this); set render container mInstance.setRenderContainer(renderContainer); set image Adapter mInstance.setImgLoaderAdapter(new ImageAdapter(this)); register render listener mInstance...