![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java基础
文章平均质量分 74
JEFFYU328
这个作者很懒,什么都没留下…
展开
-
Commons FileUpload1.21和1.3版本 升级到Commons FileUpload1.5升级说明中“ simple yet flexible means ” 是哪种方法
Commons FileUpload1.21和1.3到Commons FileUpload1.5 如何升级、问题在哪请大佬教一下,不甚感激!原创 2023-03-09 09:43:24 · 2759 阅读 · 1 评论 -
Java读取网页HTML 汉字乱码 (已解决,bufferedReader中编码改成跟网页的一致即可)
#网页HTML的编码是gb2312<meta http-equiv="Content-Type" content="text/html; charset=gb2312">#Java用utf-8 读取汉字乱码,读取网页HTML内容后输出汉子乱码 URLConnection urlConnection = new URL(url).openConnection(); HttpURLConnection connection = (HttpURLConnection) url原创 2020-09-08 14:22:24 · 1195 阅读 · 2 评论 -
环境配置"错误:找不到或无法加载主类HelloWorld"之疑
之前一直用myeclipse在写java程序,某天发现我安装的jdk1.7,怎么只有一个jre在安装程序的 java目录下。神了!于是再重新安装了jdk,配置了环境classpath:.;%JAVA_HOME%\lib\tool.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\bin;JAVA_HOME:C:\Program Files\Java\jdk1原创 2013-07-02 15:31:17 · 18288 阅读 · 3 评论 -
java.lang.IllegalStateException: getOutputStream() has already been called for this response
Jason返回值哟null会报这个错description The server encountered an internal error that prevented it from fulfilling this request.exceptionorg.apache.jasper.JasperException: java.lang.IllegalStateException...原创 2018-08-10 13:27:14 · 1282 阅读 · 0 评论 -
判段实体是否为null if(entity!=null)报 java.lang.NullPointerException但是if( null !=entity)不会报错是什么问题
if(entity !=null)会报下面的空指针错误,但是if( null !=entity)不会报错 [2018-12-28 17:08:20] [ERROR] [net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator:122] Exception on flushing of replication queue: nul...原创 2018-12-28 17:12:04 · 1186 阅读 · 0 评论