原创 html滾動條到底不斷加載數據代碼

<html> <head> <script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script> </head> <body>

原创 springmvc框架下,chrome瀏覽器下載文件提示網絡失敗

添加如下代碼即可 response.addHeader("Content-Length", excelFile.length()+"");

原创 nginx https 配置無法監聽443端口

原因80端口和443端口不能並存

原创 centos7多網關多ip配置

TYPE="Ethernet" PROXY_METHOD="none" BROWSER_ONLY="no" BOOTPROTO="static" DEFROUTE="yes" IPV6INIT="yes" IPV6_AUTOCONF="

原创 JAVA JSON數組解析

<div class="line number1 index0 alt2"><span style="font-size:14px;"><code class="java plain">String t=轉義後的{</code><cod

原创 解決Linux外網部署tomcat訪問不了的問題

[root@li398-110 bin]#  vi /etc/sysconfig/iptables # sample configuration for iptables service # you can edit this man

原创 java模擬表單上傳圖片簡單明瞭版本個人獨創

package duo.xian.cheng.mo.ni; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; impo

原创 sql語句生成javabean類

數據庫環境sqlserver sql語句如下 declare @tb nvarchar(100)  set @tb='Shop_OrderItem'    Select 'private '+  (case when st.name

原创 java根據字符串獲取類名

代碼如下 public class Test { public static void main(String[] args) throws InstantiationException, IllegalAccessExcepti

原创 springmvc用不了jquery問題解決

<span style="font-size:18px;"><code class="hljs xml has-numbering"> <span class="hljs-comment"><!-- springMVC有個攔截器會攔截js

原创 java子線程全部執行完畢執行主線程代碼

<pre name="code" class="java"><span style="font-size:18px;">import java.util.ArrayList; import java.util.List; import

原创 中的img上下垂直居中代碼

<table class="table table-striped shoptable1"> <tbody> <tr> <td rowspan="5" class="tableimg" st

原创 getWriter() has already been called for this response

Springmvc框架註解@ResponseBody和 response.getWriter();有衝突會報getWriter() has alre

原创 tomcat綁定域名

<Host name="www.123.com" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="f