自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 nginx反向代理配置去除前缀问题

nginx反向代理配置去除前缀问题

2022-04-22 08:40:12 6434

原创 针对兼容https和http发送请求公共util封装

package com.yang.aiqiqi.util;import java.io.BufferedReader;import java.io.InputStream;import java.io.InputStreamReader;import java.io.OutputStream;import java.net.HttpURLConnection;import java....

2020-03-31 09:17:20 368

原创 关于weblogic虚拟路径和tomcat虚拟路径问题

一、weblogic的虚拟路径配置以及注意事项: 1、WEB-INF/weblogic.xml中的配置信息        <!--虚拟路径映射:带项目名-->        <context-root>/</context-root><!--虚拟路径映射:不带项目名-->       <context-root>/pr...

2018-08-13 17:22:30 732

原创 数字和罗马数字的的转换

package com.hd.web;/** * 数字和罗马数字的的转换 * @author yang * */public class yang { public static void main(String[] args) { System.out.println(intToRoman(99)); }    public static String intToRoman(int num)...

2018-05-07 10:19:57 538

原创 斐波那契数列 -递归算法

          /**     * 返回斐波那契数第n个值,n从0开始     * 实现方式,基于递归实现     * @param n     * @return     * @author mhy2011@163.com     * @since 2015年8月18日上午9:41:30     */    public static int getFib(int n){ ...

2018-05-07 10:18:45 162

原创 关于java对象转xml格式的util类

package com.xd;import java.io.StringWriter;import javax.xml.bind.JAXBContext;import javax.xml.bind.JAXBException;import javax.xml.bind.Marshaller;import javax.xml.bind.Unmarshaller;import org.w3c.dom....

2018-05-07 08:39:15 181

原创 jsp生成校验码

pageEncoding="UTF-8"%>    int width = 80;    int height = 32;    //create the image    BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);    

2017-09-01 10:49:53 278

原创 java中一些有关乱码问题

常见的乱码问题及解决方案产生乱码的根本原因:浏览器的使用的编码与服务器使用的编码。1.请求request时乱码: Post请求时:   //1.1post应用默认   request.setCharacterEncoding("utf-8");Get请求时:    //1.2get方

2016-11-08 11:54:17 173

原创 web中的path问题

路径问题:          A: 客户端路径:那个斜杠("/")表示服务器的根(tomcat的webapps目录)   重定向   html中的form的action的值   html中的a标签的href的值   link标签的href的值   img中的src的值   javascript中的src的值B:服务器端路径:那个斜杠("/")

2016-11-08 11:46:48 535

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除