锘??xml version="1.0" encoding="utf-8" standalone="yes"?>秋霞av亚洲一区二区三,欧美日韩精品久久久免费观看,久久人人97超碰comhttp://www.aygfsteel.com/fly2008/zh-cnThu, 19 Jun 2025 21:50:49 GMTThu, 19 Jun 2025 21:50:49 GMT60Struts2.0 瀹炵幇鑷畾涔夊紓甯稿浗闄呭寲http://www.aygfsteel.com/fly2008/archive/2009/11/19/302903.htmljava-flyingjava-flyingThu, 19 Nov 2009 03:50:00 GMThttp://www.aygfsteel.com/fly2008/archive/2009/11/19/302903.htmlhttp://www.aygfsteel.com/fly2008/comments/302903.htmlhttp://www.aygfsteel.com/fly2008/archive/2009/11/19/302903.html#Feedback2http://www.aygfsteel.com/fly2008/comments/commentRss/302903.htmlhttp://www.aygfsteel.com/fly2008/services/trackbacks/302903.html 1package com.xunjie.game.answer.web.utils;
 2
 3import java.util.List;
 4
 5import com.opensymphony.xwork2.ActionInvocation;
 6import com.opensymphony.xwork2.ActionSupport;
 7import com.opensymphony.xwork2.interceptor.AbstractInterceptor;
 8import com.xunjie.game.answer.common.CommException;
 9
10public class CommExceptionInterceptor extends AbstractInterceptor {
11
12    public String intercept(ActionInvocation invocation) throws Exception {
13        String result = null;
14        try {
15            result = invocation.invoke();
16        }
 catch (CommException exception) {
17            
18            ActionSupport as = (ActionSupport)invocation.getAction();
19            processBaseException(as, exception);
20            
21            List exceptions = exception.getExceptions();
22            if (exceptions != null && !exceptions.isEmpty()) {
23                for (int i = 0; i < exceptions.size(); i++{
24                    CommException subEX = (CommException) exceptions.get(i);
25                    processBaseException(as, subEX);
26                }

27            }

28            throw exception;
29        }

30        return result;
31    }

32
33    private void processBaseException(ActionSupport action, CommException commException) {
34        String messageKey = commException.getMessageKey();
35        String[] args = commException.getMessageArgs();
36        
37        if (args != null && args.length > 0{
38            String s = action.getText(messageKey, args);
39            action.addActionError(s);
40        }
 else {
41            String s = action.getText(messageKey);
42            action.addActionError(s);
43        }

44    }

45}

46

]]>
oracle 閫氳繃榪炴帴榪愮畻絎﹀弻绔栫嚎鈥渱|鈥?灝嗕袱涓瓧孌電殑瀛楃涓茶繛鎺ュ湪涓璧楓備篃鍙互鍦ㄥ瓧孌典腑鍔犲叆瀛楃涓?/title><link>http://www.aygfsteel.com/fly2008/archive/2009/11/09/301682.html</link><dc:creator>java-flying</dc:creator><author>java-flying</author><pubDate>Mon, 09 Nov 2009 05:20:00 GMT</pubDate><guid>http://www.aygfsteel.com/fly2008/archive/2009/11/09/301682.html</guid><wfw:comment>http://www.aygfsteel.com/fly2008/comments/301682.html</wfw:comment><comments>http://www.aygfsteel.com/fly2008/archive/2009/11/09/301682.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fly2008/comments/commentRss/301682.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fly2008/services/trackbacks/301682.html</trackback:ping><description><![CDATA[<strong>鍏抽敭瀛? oracle 榪炴帴 榪愮畻絎?鍙岀珫綰?“||” 閫氳繃 涓や釜 瀛楁 瀛楃涓?榪炴帴 鍦ㄤ竴璧?/strong> <div id="wmqeeuq" class="blog_content">榪炴帴榪愮畻絎︽槸鍙岀珫綰?#8220;||” 閫氳繃榪炴帴榪愮畻灝嗕袱涓瓧孌電殑瀛楃涓茶繛鎺ュ湪涓璧楓傛瘮濡傚悕瀛楀拰騫撮緞 <br /> <br /> <div id="wmqeeuq" class="dp-highlighter"> <div id="wmqeeuq" class="bar"> <div id="wmqeeuq" class="tools">Sql浠g爜 <a title="澶嶅埗浠g爜" onclick="dp.sh.Toolbar.CopyToClipboard(this);return false;" ><img alt="澶嶅埗浠g爜" src="http://heisetoufa.javaeye.com/images/icon_copy.gif" /></a></div> </div> <ol class="dp-sql"> <li><span><span id="wmqeeuq" class="keyword">SELECT</span><span> uname||age </span><span id="wmqeeuq" class="keyword">AS</span><span> </span><span id="wmqeeuq" class="string">"鍚嶅瓧鍜屽勾榫?</span><span> </span><span id="wmqeeuq" class="keyword">FROM</span><span> uinfo;  </span></span> </li> </ol> </div> <pre class="sql" style="display: none" name="code">SELECT uname||age AS "鍚嶅瓧鍜屽勾榫? FROM uinfo;</pre> <br /> <br /> 緇撴灉涓? <br /> <br /> 鍚嶅瓧鍜屽勾榫?<br /> 榛戣壊澶村彂25 <br /> 绱壊澶村彂19 <br /> <br /> 榪樺彲浠ュ湪緇撴灉闆嗕腑鍔犲叆瀛楃涓?<br /> <br /> <div id="wmqeeuq" class="dp-highlighter"> <div id="wmqeeuq" class="bar"> <div id="wmqeeuq" class="tools">Sql浠g爜 <a title="澶嶅埗浠g爜" onclick="dp.sh.Toolbar.CopyToClipboard(this);return false;" ></a></div> </div> <ol class="dp-sql"> <li><span><span id="wmqeeuq" class="keyword">SELECT</span><span> uname|| </span><span id="wmqeeuq" class="string">'鐨勫勾榫勪負:'</span><span> ||age </span><span id="wmqeeuq" class="keyword">AS</span><span> </span><span id="wmqeeuq" class="string">"鍚嶅瓧鍜屽勾榫?</span><span> </span><span id="wmqeeuq" class="keyword">FROM</span><span> uinfo;  </span></span></li> </ol> </div> <pre class="sql" style="display: none" name="code">SELECT uname|| '鐨勫勾榫勪負:' ||age AS "鍚嶅瓧鍜屽勾榫? FROM uinfo;</pre> <br /> 榛戣壊澶村彂鐨勫勾榫勪負:25 <br /> 绱壊澶村彂鐨勫勾榫勪負:19 <br /> <br /> 杞嚜錛氶粦鑹插ご鍙?http://heisetoufa.javaeye.com/ </div> <img src ="http://www.aygfsteel.com/fly2008/aggbug/301682.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fly2008/" target="_blank">java-flying</a> 2009-11-09 13:20 <a href="http://www.aygfsteel.com/fly2008/archive/2009/11/09/301682.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>linux 涓嬪父鐢ㄥ懡浠?/title><link>http://www.aygfsteel.com/fly2008/archive/2009/10/22/299376.html</link><dc:creator>java-flying</dc:creator><author>java-flying</author><pubDate>Thu, 22 Oct 2009 07:46:00 GMT</pubDate><guid>http://www.aygfsteel.com/fly2008/archive/2009/10/22/299376.html</guid><wfw:comment>http://www.aygfsteel.com/fly2008/comments/299376.html</wfw:comment><comments>http://www.aygfsteel.com/fly2008/archive/2009/10/22/299376.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fly2008/comments/commentRss/299376.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fly2008/services/trackbacks/299376.html</trackback:ping><description><![CDATA[<p>鎵歸噺鍒犻櫎錛?br /> <br /> awk '{print "rm "$0}' 鏂囦歡鍚?| sh<br /> **********************************</p> <h1 class="firstHeading">鏂囦歡鍚嶇紪鐮佽漿鎹?/h1> <h1 class="firstHeading">convmv -f 婧愮紪鐮?-t 鏂扮紪鐮?[閫夐」] 鏂囦歡鍚?/h1> <p>甯歌鏈夌敤鐨勯夐」鏈夛細 </p> <p> <table cellspacing="0" border="1"> <tbody> <tr> <td>-r </td> <td>閫掑綊澶勭悊瀛愭枃浠跺す </td> </tr> <tr> <td>--notest </td> <td>鐪熸榪涜鎿嶄綔錛岃娉ㄦ剰鍦ㄩ粯璁ゆ儏鍐典笅鏄?strong>涓?/strong>瀵規枃浠惰繘琛岀湡瀹炴搷浣滅殑錛岃屽彧鏄瘯楠屻?</td> </tr> <tr> <td>--unescape </td> <td>鍙互鍋氫竴涓嬭漿涔夛紝姣斿鎶?20鍙樻垚絀烘牸錛屽鏋滀綘涓嶇煡閬撹繖鏄湪鍋氫粈涔堬紝灝變笉瑕佸皾璇曚簡銆?/td> </tr> </tbody> </table> <br /> <br /> 鍒╃敤iconv鍛戒護榪涜杞崲鏂囦歡鍐呭緇熶竴緙栫爜錛堣宑onvmv 鍛戒護鏄拡瀵?鏂囦歡鍚嶇殑緙栫爜錛?br /> </p> <p style="text-indent: 2em">iconv鍛戒護鐢ㄤ簬杞崲鎸囧畾鏂囦歡鐨勭紪鐮?榛樿杈撳嚭鍒版爣鍑嗚緭鍑鴻澶?浜﹀彲鎸囧畾杈撳嚭鏂囦歡銆? <p style="text-indent: 2em"> <p style="text-indent: 2em">鐢ㄦ硶錛?iconv [閫夐」...] [鏂囦歡...] <p style="text-indent: 2em"> <p style="text-indent: 2em">鏈夊涓嬮夐」鍙敤: <p style="text-indent: 2em"> <p style="text-indent: 2em">杈撳叆/杈撳嚭鏍煎紡瑙勮寖錛?</p> <p style="text-indent: 2em">-f, --from-code=鍚嶇О 鍘熷鏂囨湰緙栫爜 <p style="text-indent: 2em">-t, --to-code=鍚嶇О 杈撳嚭緙栫爜 <p style="text-indent: 2em"> <p style="text-indent: 2em">淇℃伅錛? <p style="text-indent: 2em">-l, --list 鍒椾婦鎵鏈夊凡鐭ョ殑瀛楃闆? <p style="text-indent: 2em"> <p style="text-indent: 2em">杈撳嚭鎺у埗錛? <p style="text-indent: 2em">-c 浠庤緭鍑轟腑蹇界暐鏃犳晥鐨勫瓧絎? <p style="text-indent: 2em">-o, --output=FILE 杈撳嚭鏂囦歡 <p style="text-indent: 2em">-s, --silent 鍏抽棴璀﹀憡 <p style="text-indent: 2em">--verbose 鎵撳嵃榪涘害淇℃伅 <p style="text-indent: 2em"> <p style="text-indent: 2em">-?, --help 緇欏嚭璇ョ郴緇熸眰鍔╁垪琛?/p> <p style="text-indent: 2em">--usage 緇欏嚭綆瑕佺殑鐢ㄦ硶淇℃伅 <p style="text-indent: 2em">-V, --version 鎵撳嵃紼嬪簭鐗堟湰鍙? <p style="text-indent: 2em"> <p style="text-indent: 2em">渚嬪瓙: <p style="text-indent: 2em">iconv -f utf-8 -t gb2312 aaa.txt >bbb.txt <p style="text-indent: 2em">榪欎釜鍛戒護璇誨彇aaa.txt鏂囦歡錛屼粠utf-8緙栫爜杞崲涓篻b2312緙栫爜,鍏惰緭鍑哄畾鍚戝埌bbb.txt鏂囦歡銆?/p> <p><br /> ********************************************************************<br /> 鎵歸噺鏀瑰悕瀛?/p> <p>鏂規硶1錛氭妸鏂囦歡鍚嶆媶鍒嗗鐞嗭紝鍙互浠繪剰淇敼鏂囦歡鍚?br /> </p> <p>find -name '*.log' -printf     |    awk -F '.'  '{print $1}'     |    xargs -i  mv {}.log       kk_{}.log<br />       -i 琛ㄧず find 浼犻掔粰xargs鐨勭粨鏋?nbsp;鐢眥}鏉ヤ唬鏇?br /> </p> <p>鏂規硶2錛氬埄鐢╮ename</p> <p>涓鑸殑linux涓嬬殑rename鍛戒護姣旇緝綆鍗?/p> <p>rename    'oldContent'      'newContent'    '*.log'</p> <p>鎶婃枃浠跺悕涓殑鏌愰儴鍒嗗瓧絎︿覆鏇挎崲鎺?/p> <p>ubuntu涓嬬殑rename鍛戒護鏀寔姝e垯琛ㄨ揪寮忥紝鍥犳鍔熻兘鏇村己澶с?/p> <p>鏂規硶3錛氱洿鎺ュ埄鐢╢ind鍜寈args鍜宮v錛屼腑闂翠笉鐢╝wk錛岃繖鏍峰彧鑳芥坊鍔犲悗緙鍚嶏紝涓嶈兘淇敼鏂囦歡鍚嶃?/p> <p>鎬葷粨錛屾柟娉曚竴鎵╁睍鎬ф渶寮猴紝涔熶綋鐜頒簡緙栫▼瀹炵幇鐨勬濇兂錛屽鏋滃啀澶嶆潅涓浜涳紝鍙互緙栫▼澶勭悊銆?br /> **************************************************************************************8<br /> pgrep 鏌ヨ榪涚▼鐨勫伐鍏?br /> <br /> </p> <p>pgrep 鏄氳繃紼嬪簭鐨勫悕瀛楁潵鏌ヨ榪涚▼鐨勫伐鍏鳳紝涓鑸槸鐢ㄦ潵鍒ゆ柇紼嬪簭鏄惁姝e湪榪愯銆?br /> 鍦ㄦ湇鍔″櫒鐨勯厤緗拰綆$悊涓紝榪欎釜宸ュ叿甯歌搴旂敤錛岀畝鍗曟槑浜嗭紱</p> <p>鐢ㄦ硶錛?br /> #ps 鍙傛暟閫夐」 紼嬪簭鍚?br /> <br /> 甯哥敤鍙傛暟<br /> <br /> -l 鍒楀嚭紼嬪簭鍚嶅拰榪涚▼ID錛?br /> -o 榪涚▼璧峰鐨処D錛?br /> -n 榪涚▼緇堟鐨処D錛?br /> <br /> 涓句緥錛?br /> [root@localhost ~]# pgrep -lo httpd<br /> 4557 httpd<br /> [root@localhost ~]# pgrep -ln httpd<br /> 4566 httpd<br /> [root@localhost ~]# pgrep -l httpd<br /> 4557 httpd<br /> 4560 httpd<br /> 4561 httpd<br /> 4562 httpd<br /> 4563 httpd<br /> 4564 httpd<br /> 4565 httpd<br /> 4566 httpd<br /> [root@localhost ~]# pgrep httpd<br /> 4557<br /> 4560<br /> 4561<br /> 4562<br /> 4563<br /> 4564<br /> 4565<br /> 4566<br /> <br /> 涔熷彲浠ラ氳繃 ps -ef | grep java 鏌ュ嚭java鐩稿叧鐨勮繘紼嬩俊鎭?br /> <br /> 閫氳繃id鏉ユ煡鐩稿叧鎴愬憳灞炴?br /> [root@localhost 05]# id xunjie01<br /> uid=503(xunjie01) gid=502(smb) groups=502(smb錛?br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> </p> <img src ="http://www.aygfsteel.com/fly2008/aggbug/299376.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fly2008/" target="_blank">java-flying</a> 2009-10-22 15:46 <a href="http://www.aygfsteel.com/fly2008/archive/2009/10/22/299376.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>FFmpeg 鍔犲叆 faac鍙奻aad2 搴?/title><link>http://www.aygfsteel.com/fly2008/archive/2009/10/14/298233.html</link><dc:creator>java-flying</dc:creator><author>java-flying</author><pubDate>Wed, 14 Oct 2009 08:30:00 GMT</pubDate><guid>http://www.aygfsteel.com/fly2008/archive/2009/10/14/298233.html</guid><wfw:comment>http://www.aygfsteel.com/fly2008/comments/298233.html</wfw:comment><comments>http://www.aygfsteel.com/fly2008/archive/2009/10/14/298233.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fly2008/comments/commentRss/298233.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fly2008/services/trackbacks/298233.html</trackback:ping><description><![CDATA[  <p><span style="font-family: 瀹嬩綋">鐜錛?/span><span style="font-size: 14pt">RedHat as 4 (gcc:3.4.6)</span></p> <p><span style="font-size: 14pt">FFmpeg</span><span style="font-size: 12pt; font-family: 瀹嬩綋">杞歡鍙槸涓В鐮佺紪鐮佽蔣浠訛紝濡傛灉鏀寔澶氱鏍煎紡蹇呴』鍏堝畨瑁呭ソ瀵瑰簲鐨勫簱錛屼笅闈㈠氨璇磋瑁呭簱錛?/span></p> <p><span style="font-size: 12pt; font-family: 瀹嬩綋">鐢變簬</span><span style="font-size: 12pt">gcc</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鐗堟湰浣?/span><span style="font-size: 12pt; font-family: 瀹嬩綋">涓嬭澆鐨?/span><span style="font-size: 12pt">Faac</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鍙?/span><span style="font-size: 12pt">Faad2</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鐗堟湰涓嶈兘鏄渶鏂扮殑銆傚埌緗戜笂涓嬭澆</span><span style="font-size: 12pt">faac-1.24.tar.gz</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鍙?/span><span style="font-size: 12pt">faad2-2.0.tar.gz</span></p> <p style="margin-left: 18pt; text-indent: -18pt"><span style="font-size: 12pt">1.<span style="font: 7pt 'Times New Roman'">      </span></span><span style="font-size: 12pt">Faac</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">#wget ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/faac-1.24.tar.gz</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt"># tar xvfz faac-1.24.tar.gz<br /> # cd faac</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">#chmod 777 bootstrap<br /> # ./bootstrap <br /> # ./configure <br /> # make <br /> # make install</span></p> <p style="margin-left: 18pt; text-indent: -18pt"><span style="font-size: 12pt">2.<span style="font: 7pt 'Times New Roman'">      </span></span><span style="font-size: 12pt">Faad2</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">IE</span><span style="font-size: 12pt; font-family: 瀹嬩綋">涓嬭澆錛?/span><span style="font-size: 12pt">http://download.chinaunix.net/down.php?id=5363&ResourceID=2885&site=1</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt"># tar xvfz faad2-2.0.tar.gz</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt"># cd faad2 </span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">#chmod 777 bootstrap<br /> # ./bootstrap <br /> # ./configure </span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">(make</span><span style="font-size: 12pt; font-family: 瀹嬩綋">浠ュ墠鎶?/span><span style="font-size: 12pt">faad2</span><span style="font-size: 12pt; font-family: 瀹嬩綋">涓葷洰褰曚笅鐨?/span><span style="font-size: 12pt">Makefile</span><span style="font-size: 12pt; font-family: 瀹嬩綋">淇敼涓?/span><span style="font-size: 12pt">,</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鎵懼埌鏈?/span><span style="font-size: 12pt">“rpm:    Makefile”</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鐨勪竴琛岋紝鎶婂畠涓嬮潰涓夎鍓嶉潰鐨勬墍鏈夌┖鏍奸兘鏀規垚涓涓?/span><span style="font-size: 12pt">TAB</span><span style="font-size: 12pt; font-family: 瀹嬩綋">絎?/span><span style="font-size: 12pt">,</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鍚﹀垯</span><span style="font-size: 12pt">,</span><span style="font-size: 12pt; font-family: 瀹嬩綋">緙栬瘧浼氭姤閿?/span><span style="font-size: 12pt">)<br /> # make <br /> # make install</span></p> <p style="margin-left: 18pt; text-indent: -18pt"><span style="font-size: 12pt">3.<span style="font: 7pt 'Times New Roman'">      </span></span><span style="font-size: 12pt">FFmpeg</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">#wget </span><a ><span style="font-size: 12pt; color: windowtext; text-decoration: none; text-underline: none">http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2</a></span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt"># bzip2 -d ffmpeg-0.5.tar.bz2<br /> # tar -xf ffmpeg-0.5.tar<br /> # cd ffmpeg-0.5</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt"># ./configure --enable-shared "<br /> --enable-gpl "<br /> -enable-libfaac "</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">--enable-libfaad "</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">--enable-libfaadbin</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt"># make</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">(</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鍙兘鍑虹幇鐨勯敊璇細</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">/usr/include/linux/videodev.h:55: error: syntax error before "ulong"</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">/usr/include/linux/videodev.h:71: error: syntax error before '}' token</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">libavdevice/v4l.c: In function `grab_read_header':</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">libavdevice/v4l.c:77: error: storage size of 'tuner' isn't known</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">libavdevice/v4l.c:141: error: invalid application of `sizeof' to incomplete type `video_tuner'</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">libavdevice/v4l.c:148: error: invalid application of `sizeof' to incomplete type `video_tuner'</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">libavdevice/v4l.c:77: warning: unused variable `tuner'</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">make: *** [libavdevice/v4l.o] </span><span style="font-size: 12pt; font-family: 瀹嬩綋">閿欒</span><span style="font-size: 12pt"> 1</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt">vi /usr/include/linux/videodev.h</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt; font-family: 瀹嬩綋">鏌ユ壘</span><span style="font-size: 12pt">rangelow, rangehigh;      /* Tuner range */</span><span style="font-size: 12pt; font-family: 瀹嬩綋">榪欎竴琛?/span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt; font-family: 瀹嬩綋">鎶?/span><span style="font-size: 12pt"> ulong rangelow, rangehigh;      /* Tuner range */</span></p> <p style="margin-left: 18pt; text-indent: 24pt"><span style="font-size: 12pt; font-family: 瀹嬩綋">鏀逛負錛?/span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">     unsigned long rangelow, rangehigh;      /* Tuner range */</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">榪欏彲鑳芥槸婧愪唬鐮?/span><span style="font-size: 12pt">videodev.h</span><span style="font-size: 12pt; font-family: 瀹嬩綋">涓嶆槸閽堝嬈$増鏈?/span><span style="font-size: 12pt">Linux</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鍐欑殑錛屾爣鍑?/span><span style="font-size: 12pt">C</span><span style="font-size: 12pt; font-family: 瀹嬩綋">娌℃湁</span><span style="font-size: 12pt">ulong</span><span style="font-size: 12pt; font-family: 瀹嬩綋">綾誨瀷錛屾墍浠ヨ鏀規垚</span><span style="font-size: 12pt">unsigned long</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">)<br /> # make install</span></p> <p style="margin-left: 18pt; text-indent: -18pt"><span style="font-size: 12pt">4.<span style="font: 7pt 'Times New Roman'">      </span></span><span style="font-size: 12pt; font-family: 瀹嬩綋">榪愯</span><span style="font-size: 12pt"> ffmpeg </span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">鎴愬姛鐪嬪埌</span><span style="font-size: 12pt">:configuration: --enable-gpl --enable-shared --enable-libfaac --enable-libfaad --enable-libfaadbin</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">璇存槑</span><span style="font-size: 12pt">faac</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鍙?/span><span style="font-size: 12pt">faad2 </span><span style="font-size: 12pt; font-family: 瀹嬩綋">宸插姞鍏ュ埌浜?/span><span style="font-size: 12pt">ffmpeg</span><span style="font-size: 12pt; font-family: 瀹嬩綋">涓?/span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">鍙兘鍑虹殑閿欒</span><span style="font-size: 12pt">:</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">瑙e喅鍔炴硶錛?/span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">vi /etc/ld.so.conf</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">鍔犲叆錛?/span><span style="font-size: 12pt">/usr/local/lib</span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt; font-family: 瀹嬩綋">鎵ц</span><span style="font-size: 12pt">ldconfig</span></p> <p style="margin-left: 18pt; text-indent: -18pt"><span style="font-size: 12pt">5.<span style="font: 7pt 'Times New Roman'">      </span></span><span style="font-size: 12pt; font-family: 瀹嬩綋">闊蟲簮杞崲鍛戒護錛?/span></p> <p style="margin-left: 21pt; text-align: left" align="left"><span style="font-size: 12pt; font-family: 瀹嬩綋">閲囨牱鐜?/span><span style="font-size: 12pt"> -ar 44100</span></p> <p style="margin-left: 21pt; text-align: left" align="left"><span style="font-size: 12pt; font-family: 瀹嬩綋">澹伴亾</span><span style="font-size: 12pt"> -ac 1/2</span></p> <p style="margin-left: 21pt; text-align: left" align="left"><span style="font-size: 12pt; font-family: 瀹嬩綋">鐮佺巼</span><span style="font-size: 12pt">/</span><span style="font-size: 12pt; font-family: 瀹嬩綋">姣旂壒鐜?/span><span style="font-size: 12pt"> -ab 32k/218k  </span></p> <p style="margin-left: 21pt; text-align: left" align="left"><span style="font-size: 12pt; font-family: 瀹嬩綋">緙栫爜鐜囷細</span><span style="font-size: 12pt">-acodec (AAc</span><span style="font-size: 12pt; font-family: 瀹嬩綋">鏍煎紡錛?/span><span style="font-size: 12pt">libfaac)</span></p> <p style="text-indent: 17.85pt"><span style="font-size: 12pt">ffmpeg  –i  2.mp3  -ac 2  -ab  <span style="background: yellow; color: red">114k</span> -acodec libfaac 2.aac(90</span><span style="font-size: 12pt; font-family: 瀹嬩綋">姣旂壒鐜?/span><span style="font-size: 12pt">) </span></p> <p style="margin-left: 18pt; text-indent: 0cm"><span style="font-size: 12pt">ffmpeg -i  2.mp3  -ac 2  -ab  <span style="background: yellow">78k</span> -acodec libfaac 2.aac(64</span><span style="font-size: 12pt; font-family: 瀹嬩綋">姣旂壒鐜?/span><span style="font-size: 12pt">)<br /> <br /> Other Error - bitrate parameter is set too low :<br /> This is probably with relation to the audio bitrate. -ab 56 sets the audio bitrate to 56 bits per second. Try either -ab 56k or -ab 56000 for 56 kbps.<br /> <br /> <br /> </p> <h2><a id="viewpost1_TitleUrl" href="http://www.aygfsteel.com/javaren/articles/install_ffmpeg_on_linux_64bit.html">鍦–entOS-4.4 x86_64瀹夎FFmpeg (闈炲師鍒?</a><br /> http://203.208.37.132/search?q=cache:yTBG0mMuwYwJ:www.aygfsteel.com/javaren/archive/2009/09/22/279800.html+%E5%A6%82%E4%BD%95+%E5%AE%89%E8%A3%85ffmpeg-0.5.tar.bz2&cd=1&hl=zh-CN&ct=clnk&gl=cn&st_usg=ALhdy29u1loEbJVSqgsOVEBLjoHxf0Cezg<br /> </td> </td> </span></h2> <img src ="http://www.aygfsteel.com/fly2008/aggbug/298233.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fly2008/" target="_blank">java-flying</a> 2009-10-14 16:30 <a href="http://www.aygfsteel.com/fly2008/archive/2009/10/14/298233.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Hibernate Annotations(涓枃 涓嬭澆)http://www.aygfsteel.com/fly2008/archive/2009/09/23/296108.htmljava-flyingjava-flyingWed, 23 Sep 2009 01:18:00 GMThttp://www.aygfsteel.com/fly2008/archive/2009/09/23/296108.htmlhttp://www.aygfsteel.com/fly2008/comments/296108.htmlhttp://www.aygfsteel.com/fly2008/archive/2009/09/23/296108.html#Feedback2http://www.aygfsteel.com/fly2008/comments/commentRss/296108.htmlhttp://www.aygfsteel.com/fly2008/services/trackbacks/296108.htmlHibernate Annotations

]]>
myeclipse涓庝箞鎻愮ずXML鐨勫睘鎬?/title><link>http://www.aygfsteel.com/fly2008/archive/2009/09/21/295895.html</link><dc:creator>java-flying</dc:creator><author>java-flying</author><pubDate>Mon, 21 Sep 2009 09:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/fly2008/archive/2009/09/21/295895.html</guid><wfw:comment>http://www.aygfsteel.com/fly2008/comments/295895.html</wfw:comment><comments>http://www.aygfsteel.com/fly2008/archive/2009/09/21/295895.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fly2008/comments/commentRss/295895.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fly2008/services/trackbacks/295895.html</trackback:ping><description><![CDATA[<pre>鍦‥clipse瀹夎鐩綍涓嬶紝鏈変竴涓猠clipse.ini鐨勯厤緗枃浠訛紝鐢ㄦ枃鏈紪杈戝櫒鎵撳紑瀹冿紝鎵懼埌-Duser.language=en榪欐牱涓琛岋紝灝嗗畠鏀逛負-Duser.language=zh鍗沖彲錛?<br /> 鐒跺悗閲嶅惎myeclips錛?<br /> 鐒跺悗alt+/閿兘澶熸彁紺哄睘鎬?</pre> <img src ="http://www.aygfsteel.com/fly2008/aggbug/295895.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fly2008/" target="_blank">java-flying</a> 2009-09-21 17:56 <a href="http://www.aygfsteel.com/fly2008/archive/2009/09/21/295895.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Hibernate鎬庝箞鍒╃敤閰嶇疆鏂囦歡閰嶇疆HQL/SQLhttp://www.aygfsteel.com/fly2008/archive/2009/09/18/295542.htmljava-flyingjava-flyingFri, 18 Sep 2009 02:27:00 GMThttp://www.aygfsteel.com/fly2008/archive/2009/09/18/295542.htmlhttp://www.aygfsteel.com/fly2008/comments/295542.htmlhttp://www.aygfsteel.com/fly2008/archive/2009/09/18/295542.html#Feedback2http://www.aygfsteel.com/fly2008/comments/commentRss/295542.htmlhttp://www.aygfsteel.com/fly2008/services/trackbacks/295542.html鍦ㄤ嬌鐢℉ibernate鍋氬紑鍙戞椂錛屽彲浠ョ洿鎺ュ湪婧愪唬鐮侀噷鍐橦QL/SQL錛屼篃鍙互鍒╃敤閰嶇疆鏂囦歡緇熶竴鍐橦QL/SQL

涓嬮潰浠嬬粛鍚庤呯殑鍋氭硶

 1hibernate.queries.hbm.xml
 2***************************
 3<?xml version="1.0"?>
 4
 5<!DOCTYPE hibernate-mapping PUBLIC
 6      "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
 7      "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
 8
 9<hibernate-mapping>
10
11  <typedef class="org.jbpm.db.hibernate.StringMax" name="string_max" />
12  
13  <!-- related to ProcessDefintion -->
14  <!-- ########################### -->
15<!-- HQL -->
16  <query name="QueryUser">
17    <![CDATA[
18     FROM   User u
            WHERE     u.username = :username    
22    ]]>
23  </query>
24<!--SQL-->
25 <sql-query name="SqlQueryUser">  
26        <![CDATA[  
27             SELECT  
28                  {u.*}  
29             FROM  
30                  user u  
31              WHERE  
32                  u.user_name = :userName  
33         ]]>
34    <return alias="u" class="com.test.entity.User"/>  
35    </sql-query>
36
37</hibernate-mapping>
 1hibernate.cfg.xml
 2---------------------
 3<?xml version="1.0"?>
 4<!DOCTYPE hibernate-configuration PUBLIC
 5    "-//Hibernate/Hibernate Configuration DTD//EN"
 6    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
 7    
 8<hibernate-configuration>
 9    <session-factory>
10        
11        <mapping resource="User.hbm.xml"/>
12        
13        <mapping resource="hibernate.queries.hbm.xml"/>
14        
15        
16    </session-factory>
17</hibernate-configuration>
18

1Java Code:
2----------
3String username = "";
4Session session = ;
5Query query = session.getNamedQuery("QueryUser");
6//Query query = session.getNamedQuery("SqlQueryUser");
7query.setString("username", username);
8List userList = query.list();
9



]]>
鏃ユ湡鏍煎紡杞寲錛堟棩鏈熺敱鏃跺尯 渚嬪 2009-09-17T18:26:40.187+0800 錛?/title><link>http://www.aygfsteel.com/fly2008/archive/2009/09/17/295484.html</link><dc:creator>java-flying</dc:creator><author>java-flying</author><pubDate>Thu, 17 Sep 2009 10:37:00 GMT</pubDate><guid>http://www.aygfsteel.com/fly2008/archive/2009/09/17/295484.html</guid><wfw:comment>http://www.aygfsteel.com/fly2008/comments/295484.html</wfw:comment><comments>http://www.aygfsteel.com/fly2008/archive/2009/09/17/295484.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fly2008/comments/commentRss/295484.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fly2008/services/trackbacks/295484.html</trackback:ping><description><![CDATA[<div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><span style="color: #008080">1</span><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #008000">//</span><span style="color: #008000">榛樿鏃跺尯</span><span style="color: #008000"><br /> </span><span style="color: #008080">2</span><span style="color: #008000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #000000">        Locale aLocale </span><span style="color: #000000">=</span><span style="color: #000000"> Locale.getDefault();<br /> </span><span style="color: #008080">3</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        DateFormat df </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> SimpleDateFormat(</span><span style="color: #000000">"</span><span style="color: #000000">yyyy-MM-dd'T'HH:mm:ss.SSSZ</span><span style="color: #000000">"</span><span style="color: #000000">,<br /> </span><span style="color: #008080">4</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />                aLocale);<br /> </span><span style="color: #008080">5</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        Date date </span><span style="color: #000000">=</span><span style="color: #000000"> df.parse(</span><span style="color: #000000">"</span><span style="color: #000000">2009-09-17T18:26:40.187+0800</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> </span><span style="color: #008080">6</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        DateFormat df2 </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> SimpleDateFormat(</span><span style="color: #000000">"</span><span style="color: #000000">yyyy-MM-dd HH:mm:ss</span><span style="color: #000000">"</span><span style="color: #000000">);<br /> </span><span style="color: #008080">7</span><span style="color: #000000"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" />        System.out.println(df2.format(date));</span></div> <img src ="http://www.aygfsteel.com/fly2008/aggbug/295484.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fly2008/" target="_blank">java-flying</a> 2009-09-17 18:37 <a href="http://www.aygfsteel.com/fly2008/archive/2009/09/17/295484.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Java 楂樼駭鍩虹鐭ヨ瘑http://www.aygfsteel.com/fly2008/archive/2009/09/15/295212.htmljava-flyingjava-flyingTue, 15 Sep 2009 13:21:00 GMThttp://www.aygfsteel.com/fly2008/archive/2009/09/15/295212.htmlhttp://www.aygfsteel.com/fly2008/comments/295212.htmlhttp://www.aygfsteel.com/fly2008/archive/2009/09/15/295212.html#Feedback0http://www.aygfsteel.com/fly2008/comments/commentRss/295212.htmlhttp://www.aygfsteel.com/fly2008/services/trackbacks/295212.html

]]>
JSecurityhttp://www.aygfsteel.com/fly2008/archive/2009/09/11/294764.htmljava-flyingjava-flyingFri, 11 Sep 2009 09:08:00 GMThttp://www.aygfsteel.com/fly2008/archive/2009/09/11/294764.htmlhttp://www.aygfsteel.com/fly2008/comments/294764.htmlhttp://www.aygfsteel.com/fly2008/archive/2009/09/11/294764.html#Feedback0http://www.aygfsteel.com/fly2008/comments/commentRss/294764.htmlhttp://www.aygfsteel.com/fly2008/services/trackbacks/294764.html

]]>
主站蜘蛛池模板: 蒙城县| 新蔡县| 桦甸市| 吴堡县| 永宁县| 普洱| 江口县| 乐平市| 民勤县| 新建县| 社会| 奉化市| 珠海市| 沭阳县| 富顺县| 江永县| 岳阳市| 安西县| 库车县| 阜平县| 二连浩特市| 五常市| 北宁市| 灌云县| 西乌| 布尔津县| 渝中区| 富民县| 临沭县| 保德县| 日喀则市| 宁南县| 新民市| 双柏县| 道真| 沽源县| 津市市| 青神县| 台中县| 福海县| 神池县|