- 浏览: 9454 次
- 性别:
- 来自: 广州
最新评论
文章列表
public static ByteArrayOutputStream createQrImage(String content, int width, int height, String formatName){
ByteArrayOutputStream baos = null;
try{
baos = new ByteArrayOutputStream(4096);
Hashtable<EncodeHintType, Object> hintMap = new Hashtable<EncodeHintType, Object>();
hi ...
1、生成证书
切换到tomcat根目录执行命令:
keytool -genkey -alias tomcat -keystore D:\Linmz\code\iYICT\yqis\tomcat\tomcat.jks -keypass pass.1234 -storepass pass.1234 -keyalg RSA -keysize 2048 -validity 365 -v -dname "CN = muzelin,OU = DevUI,O = DevCloud,L = ShenZhen,ST = GUANGDONG,C = CN"
2、tomcat配置
修改serve ...
package com.liugh.servlet;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.M ...
yum install docker
systemctl start docker.service
systemctl stop docker.service
systemctl status docker.service
docker images 列出本地镜像
docker search tomcat
docker pull tomcat 下载镜像
docker images|grep tomcat查看下载后的tomcat镜像文件信息
docker run --name tomcat -p 8080:8080 -v
-p 8080:8080:将容器的8080端口映射到主机的8080端口
-v ...
java -jar moco-runner-1.1.0-standalone.jar http -p 8888 -c test.json
[
{
"description":"请求数据接口挡板",
"request":{
"uri":"/zztj-recruitment-external-webserver/rcrt/openApi/v/resume/deliverResume",
"method ...
alt+shift+方向鍵。
https://www.jianshu.com/p/8f6c72def69d
clean package -e -X
https://blog.csdn.net/lin_pn/article/details/84143568
<plugin>
<!-- proguard混淆插件-->
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin< ...
<!-- springboot-aop包,AOP切面注解,Aspectd等相关注解 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
package com.zy.ds;
import org.aspectj.lang ...
*//**
* {"ret":0,"message":"","data":[{"success":true,"errorMessage":"","shopNumber":"NO1212121216",
* "dispatchNumber"
* :"RD259229301CN","sum":87,"weightSum":1.494,&q ...
private volatile String unlockSha1 = "";
public String lock(String lockName, long acquireTime, int lockTimeout) {
String identifier = UuidUtil.generate32Value();
String lock = "lock:" + lockName;
long beginTime = System.currentTimeMillis();
do {
...
windows7解决办法:
1、请先将Windows 7安装盘放入光驱,重新启动计算机,在CMOS中进行设置以光驱启动。
2、当出现安装界面时,请单击“Repair your computer”(修复系统),在随后弹出的对话框中选择“Command Prompt”(命令提示符)。
3、在调用了系统的命令提示符窗口后,请输入“mmc.exe”命令并按回车键,系统将会调用出控制台。
随后选择文件”-“添加/删除管理单元”,系统将再次弹出一对话框。在该对话框左侧窗口内选中“本地用户和组”,然后再单击“添加”按钮。此时,系统将把“本地用户和组”添加到“控制台节点”,单击“确定”按钮完成添加过程。
4、添 ...
XP解决办法:
1、重新启动计算机,在启动画面出现后马上按下F8键,选择“带命令行的安全模式”。
2、运行过程结束时,系统列出了系统超级用户“administrator”和本地用户“*****”的选择菜单,鼠标单击“administrator”,进入命令行模式。
3、键入命令:“net user ***** 123456 /add”,强制将“*****”用户的口令更改为“123456”。若想在此添加一新用户(如:用户名为abcdef,口令为123456)的话,请键入“net user abcdef 123456 /add”,添加后可用“net localgroup administrators ...
<link rel="stylesheet" href="<%=request.getContextPath()%>/plugin/datepicker/css/jquery.ui.all.css?v=${SUPPORT_VERSION}">
<link rel="stylesheet" href="<%=request.getContextPath()%>/plugin/datepicker/winget.css?v=${SUPPORT_VERSION}">
< ...
//引入js文件
<script
src="<%=request.getContextPath()%>/js/getchildren.js" type="text/javascript" charset="utf-8"></script>
ACTION
@SuppressWarnings("unchecked")
public ActionForward getProductNodeByAjax(ActionMapping mapping,
Action ...
jsp
productLine:<html:select property="productLine" styleClass="productNode" styleId="productLine">
<html:option value=""></html:option>
<html:options collection="class3List" property="item_id" labelProperty="item_ ...
JS
<link href="<%=request.getContextPath()%>/css/jquery.autocomplete.css" rel="stylesheet" type="text/css">
<script src="<%=request.getContextPath()%>/js/poapply/jquery.autocomplete.js" type="text/javascript" charset="utf-8& ...