目前分類:tomcat 功能 (10)

瀏覽方式: 標題列表 簡短摘要

找到8080占用的pid
netstat -ano | findstr 8080

JBLin 發表在 痞客邦 留言(0) 人氣()

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

JBLin 發表在 痞客邦 留言(0) 人氣()

java.net.InetAddress.getLocalHost().getHostName()


JBLin 發表在 痞客邦 留言(0) 人氣()

request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");

JBLin 發表在 痞客邦 留言(0) 人氣()

  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:call
  • 請輸入密碼:

project資料夾 ->WebContent -> WEB-INF -> web.xml 
加入以下的<load-on-startup>

JBLin 發表在 痞客邦 留言(0) 人氣()

jdbc:mysql://localhost:3306/資料庫名稱?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull";


JBLin 發表在 痞客邦 留言(0) 人氣()

  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:call
  • 請輸入密碼:
  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:call
  • 請輸入密碼:
  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:cell
  • 請輸入密碼: