Loading

05 2021 档案

摘要:dependency <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.1</version> <scope>pro 阅读全文
posted @ 2021-05-26 14:22 Xaf17 阅读(135) 评论(0) 推荐(0)
摘要:步骤 安装node.js 编写程序 目录结构 Project hello-world-project - run.bat - server.js server.js const http = require('http'); const hostname = '127.0.0.1'; const p 阅读全文
posted @ 2021-05-25 21:10 Xaf17 阅读(50) 评论(0) 推荐(0)
摘要:sql不要写成一行,分段写。 程序中动态sql采用占位符写法(也分段写)进行动态替换(而非字符串拼接)。 单表 tableA(mk, a1, a2, fk_rb_a1) 查询 样例1: 查询表中价格在[100, 200]间的记录 query zero or some items select mk, 阅读全文
posted @ 2021-05-25 19:04 Xaf17 阅读(88) 评论(0) 推荐(0)
摘要:java中常常使用此作为屏幕的输出。 众所周知,在java这种OOP语言,对屏幕作输出内容,分为两步, // 将对屏幕的输出抽象为一个输出流对象 // 注意,此处并未使用new创建对象,而是使用System提供的out PrintStream out=System.out; // 对屏幕输出内容,即 阅读全文
posted @ 2021-05-23 12:49 Xaf17 阅读(268) 评论(0) 推荐(0)
摘要:/* * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 阅读全文
posted @ 2021-05-22 21:48 Xaf17 阅读(56) 评论(0) 推荐(0)
摘要:java keyword: transient usage: skip serialization for transient-field import java.io.*; class Test implements Serializable { int i = 10; transient int 阅读全文
posted @ 2021-05-22 20:44 Xaf17 阅读(58) 评论(0) 推荐(0)
摘要:api: interface List int size(); boolean isEmpty(); boolean contains(Object o); Iterator<E> iterator(); Object[] toArray(); <T> T[] toArray(T[] a); boo 阅读全文
posted @ 2021-05-19 20:01 Xaf17 阅读(71) 评论(0) 推荐(0)
摘要:/* * Copyright (C) 2013, 2014 Brett Wooldridge * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except 阅读全文
posted @ 2021-05-19 18:44 Xaf17 阅读(177) 评论(0) 推荐(0)
摘要:// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package org.springframework.web.servlet; impo 阅读全文
posted @ 2021-05-19 18:34 Xaf17 阅读(60) 评论(0) 推荐(0)
摘要:/* * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 阅读全文
posted @ 2021-05-17 23:06 Xaf17 阅读(61) 评论(0) 推荐(0)
摘要:测试用例 String loc="contextPath/test.properties"; InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(loc); Properties info=new Prope 阅读全文
posted @ 2021-05-17 15:45 Xaf17 阅读(36) 评论(1) 推荐(0)
摘要:// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package com.mysql.cj.jdbc; import java.sql.Dr 阅读全文
posted @ 2021-05-17 14:42 Xaf17 阅读(206) 评论(0) 推荐(0)
摘要:jre的目录结构 jre ├── bin ├── COPYRIGHT ├── lib ├── LICENSE ├── README.txt ├── THIRDPARTYLICENSEREADME-JAVAFX.txt ├── THIRDPARTYLICENSEREADME.txt └── Welco 阅读全文
posted @ 2021-05-11 23:20 Xaf17 阅读(327) 评论(1) 推荐(0)