原创 eclipse中修改svn的用戶名和密碼

在eclipse中經常用到用svn進行代碼版本控制,爲了提交或更新代碼的時候不反覆地提示我們輸入用戶名和密碼,於是我們 就習慣把訪問SVN的用戶名密碼自動保存起來。以便下次自動使用,不要再次手工輸入,但是有些時候需要變更密碼或者用戶名, 就

原创 mysql詳解

select 查詢類型:單表查詢、多表查詢,子查詢select * from tb_name; 查詢表中所有字段select field1,field2 from tb_name; 投影,只顯示每個實體中的field1、field2sele

原创 Ehcache緩存

ehcache.xml中<?xml version="1.0" encoding="UTF-8"?><ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noN

原创 SpringMVC 解決GET請求時中文亂碼的問題

<filter>        <filter-name>CharacterEncoding</filter-name>        <filter-class>org.springframework.web.filter.Charact

原创 eclipse中修改svn的用戶名和密碼

在eclipse中經常用到用svn進行代碼版本控制,爲了提交或更新代碼的時候不反覆地提示我們輸入用戶名和密碼,於是我們 就習慣把訪問SVN的用戶名密碼自動保存起來。以便下次自動使用,不要再次手工輸入,但是有些時候需要變更密碼或者用戶名, 就

原创 js 清空input輸入數據

<html><head><title></title> </head><body> <span  class="searchTpyeText">按手機號查詢</span>  <form>  <div class="phoneContent

原创 eclipse debug 的斷點查看和清除

查看:window——>show view——>breakpoints清除:將模式更改爲Debug模式。點擊工具欄上側的Debug按鈕,將查看方式更改爲debug方式。步驟閱讀選擇Breakpoints。進入debug模式之後,在查看運行結

原创 SpringMVC 解決GET請求時中文亂碼的問題

<filter>        <filter-name>CharacterEncoding</filter-name>        <filter-class>org.springframework.web.filter.Charact

原创 SpringMVC template和HttpClient post提交

服務器的接口如果是springmvc客戶端除了用springmvc提供的RestTemplate請求如下public class RestClient {    private static Logger logger = Logger.g

原创 Ehcache緩存

ehcache.xml中<?xml version="1.0" encoding="UTF-8"?><ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noN

原创 js 防止表單異步重複提交

<form id="formData" method="post" action="${pageContext.request.contextPath }/save">    <input type="button" value="確認提交

原创 mysql詳解

select 查詢類型:單表查詢、多表查詢,子查詢select * from tb_name; 查詢表中所有字段select field1,field2 from tb_name; 投影,只顯示每個實體中的field1、field2sele

原创 spring mvc 頁面驗證碼樣例

驗證碼類:import java.io.IOException;import javax.servlet.ServletException;import javax.servlet.http.HttpServlet;import javax

原创 解決打開組策略時報“inetres.admx”錯誤

當打開的時候提示錯誤,請記錄好錯誤行號,如下圖中的795步驟閱讀找到C:\Windows\PolicyDefinitions\inetres.admx文件,備份inetres.admx。用記事本打開inetres.admx,若看不到行號,請

原创 eclipse中內存溢出java.lang.OutOfMemoryError: PermGen space解決

設置tomcat的時候,應該點擊server的配置,配置下我標紅的地方就好了。-Xms256M -Xmx512M -XX:PermSize=256m -XX:MaxPermSize=512m