锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久亚洲日韩看片无码,亚洲成av人片在线观看天堂无码 ,久久精品国产亚洲AV无码偷窥http://www.tkk7.com/youngturk/category/19358.htmlThe world is a fine place , and worth fighting for it.zh-cnMon, 18 Feb 2013 02:42:00 GMTMon, 18 Feb 2013 02:42:00 GMT60javascrip涓庨〉闈㈡墽琛岄『搴?/title><link>http://www.tkk7.com/youngturk/archive/2013/02/06/395181.html</link><dc:creator>youngturk</dc:creator><author>youngturk</author><pubDate>Wed, 06 Feb 2013 07:57:00 GMT</pubDate><guid>http://www.tkk7.com/youngturk/archive/2013/02/06/395181.html</guid><wfw:comment>http://www.tkk7.com/youngturk/comments/395181.html</wfw:comment><comments>http://www.tkk7.com/youngturk/archive/2013/02/06/395181.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/youngturk/comments/commentRss/395181.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/youngturk/services/trackbacks/395181.html</trackback:ping><description><![CDATA[2銆佸歡榪熻剼鏈?<br />HTML4.0涓?lt;script>鏍囩瀹氫箟浜哾efer鐨勫睘鎬с傝繖涓睘鎬х殑鐢ㄩ旀槸琛ㄦ槑鑴氭湰鍦ㄦ墽琛屾椂涓嶄細褰卞搷欏甸潰鐨勬瀯閫犮備篃灝辨槸璇達紝鑴氭湰浼氬歡榪熷埌鏁翠釜欏甸潰閮借В鏋愬畬姣曞悗鍦ㄦ墽琛屻傚洜姝わ紝鍦?lt;script>鍏冪礌涓緗甦efer灞炴э紙濡備笅闈㈢殑渚嬪瓙錛夛紝瀹為檯涓婁笌涓婇潰浠嬬粛鐨勬妸<script>鍏冪礌鏀懼湪欏甸潰搴曢儴鐨勬晥鏋滄槸涓鏍風殑銆?<br /><html> <br /><head> <br />  <title> New Document </title> <br />  <script type="text/javascript" defer="defer" src="example1.js"></script> <br />  <script type="text/javascript" defer="defer" src="example2.js"></script> <br /></head> <br /><body> <br />  <!--榪欓噷鏀懼唴瀹?-> <br /></body> <br /></html> <br />榪欎釜渚嬪瓙涓紝铏界劧鎴戜滑鎶?lt;script>鍏冪礌鏀懼湪浜嗘枃妗g殑<head>鍏冪礌涓紝浣嗗叾涓寘鍚殑鑴氭湰灝嗗歡榪熷埌嫻忚鍣ㄩ亣鍒?lt;/html>鏍囩鍚庡湪鎵ц銆?<br />涓嶈繃錛岄棶棰樻槸騫墮潪鎵鏈夋祻瑙堝櫒閮芥敮鎸乨efer灞炴э紝IE鍜宖irefox3.0鏄洰鍓嶅敮涓鏀寔defer灞炴х殑涓繪祦嫻忚鍣ㄣ傚叾浠栨祻瑙堝櫒鍒欎細蹇界暐榪欎釜灞炴э紝涓嶅歡榪熻剼鏈殑鎵ц <img src ="http://www.tkk7.com/youngturk/aggbug/395181.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/youngturk/" target="_blank">youngturk</a> 2013-02-06 15:57 <a href="http://www.tkk7.com/youngturk/archive/2013/02/06/395181.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浠巖equest鑾峰彇鍚勭璺緞鎬葷粨 request.getRealPath("url"); // 铏氭嫙鐩綍鏄犲皠涓哄疄闄呯洰褰?request.getRealPat http://www.tkk7.com/youngturk/archive/2013/01/23/394584.htmlyoungturkyoungturkWed, 23 Jan 2013 01:01:00 GMThttp://www.tkk7.com/youngturk/archive/2013/01/23/394584.htmlhttp://www.tkk7.com/youngturk/comments/394584.htmlhttp://www.tkk7.com/youngturk/archive/2013/01/23/394584.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/394584.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/394584.html
浠巖equest鑾峰彇鍚勭璺緞鎬葷粨 
request.getRealPath(
"url"); // 铏氭嫙鐩綍鏄犲皠涓哄疄闄呯洰褰?nbsp;


request.getRealPath(
"./");    // 緗戦〉鎵鍦ㄧ殑鐩綍 

request.getRealPath(
"../"); // 緗戦〉鎵鍦ㄧ洰褰曠殑涓婁竴灞傜洰褰?nbsp;

request.getContextPath();    
// 搴旂敤鐨剋eb鐩綍鐨勫悕縐?nbsp;


濡俬ttp:
//localhost:7001/bookStore/ 
/bookStore/ => [contextPath] (request.getContextPath()) 

鑾峰彇Web欏圭洰鐨勫叏璺緞 
String strDirPath 
= request.getSession().getServletContext().getRealPath("/"); 

浠ュ伐紼嬪悕涓篢EST涓轟緥錛?nbsp;

(
1)寰楀埌鍖呭惈宸ョ▼鍚嶇殑褰撳墠欏甸潰鍏ㄨ礬寰勶細request.getRequestURI() 
緇撴灉錛?/span>/TEST/test.jsp 


(
2)寰楀埌宸ョ▼鍚嶏細request.getContextPath() 
緇撴灉錛?/span>/TEST 


(
3)寰楀埌褰撳墠欏甸潰鎵鍦ㄧ洰褰曚笅鍏ㄥ悕縐幫細request.getServletPath() 
緇撴灉錛氬鏋滈〉闈㈠湪jsp鐩綍涓?nbsp;
/TEST/jsp/test.jsp 


(
4)寰楀埌欏甸潰鎵鍦ㄦ湇鍔″櫒鐨勫叏璺緞錛歛pplication.getRealPath("欏甸潰.jsp"
緇撴灉錛欴:\resin\webapps\TEST\test.jsp 


(
5)寰楀埌欏甸潰鎵鍦ㄦ湇鍔″櫒鐨勭粷瀵硅礬寰勶細absPath=new java.io.File(application.getRealPath(request.getRequestURI())).getParent(); 
緇撴灉錛欴:\resin\webapps\TEST 

2.鍦ㄧ被涓彇寰楄礬寰勶細 

(
1)綾葷殑緇濆璺緞錛欳lass.class.getClass().getResource("/").getPath() 
緇撴灉錛?/span>/D:/TEST/WebRoot/WEB-INF/classes/pack/ 


(
2)寰楀埌宸ョ▼鐨勮礬寰勶細System.getProperty("user.dir"
緇撴灉錛欴:\TEST 

3.鍦⊿ervlet涓彇寰楄礬寰勶細 

(
1)寰楀埌宸ョ▼鐩綍錛歳equest.getSession().getServletContext().getRealPath("") 鍙傛暟鍙叿浣撳埌鍖呭悕銆?nbsp;
緇撴灉錛欵:\Tomcat\webapps\TEST 


(
2)寰楀埌IE鍦板潃鏍忓湴鍧錛歳equest.getRequestURL() 
緇撴灉錛歨ttp:
//localhost:8080/TEST/test 


(
3)寰楀埌鐩稿鍦板潃錛歳equest.getRequestURI() 
緇撴灉錛?/span>/TEST/test 


youngturk 2013-01-23 09:01 鍙戣〃璇勮
]]>
鐢↗SP瀹炵幇涓婁紶鏂囦歡鐨勪袱縐嶆柟娉?http://www.tkk7.com/youngturk/archive/2013/01/22/394570.htmlyoungturkyoungturkTue, 22 Jan 2013 09:27:00 GMThttp://www.tkk7.com/youngturk/archive/2013/01/22/394570.htmlhttp://www.tkk7.com/youngturk/comments/394570.htmlhttp://www.tkk7.com/youngturk/archive/2013/01/22/394570.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/394570.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/394570.html闃呰鍏ㄦ枃

youngturk 2013-01-22 17:27 鍙戣〃璇勮
]]>
Struts2鏂囦歡涓婁紶鍔熻兘寮鍙?http://www.tkk7.com/youngturk/archive/2012/11/29/392239.htmlyoungturkyoungturkThu, 29 Nov 2012 15:47:00 GMThttp://www.tkk7.com/youngturk/archive/2012/11/29/392239.htmlhttp://www.tkk7.com/youngturk/comments/392239.htmlhttp://www.tkk7.com/youngturk/archive/2012/11/29/392239.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/392239.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/392239.html鎶鏈鐐?
鏈妭浠g爜璇︾粏璇存槑鏂囦歡涓婁紶鍔熻兘鐨勫紑鍙戞祦紼嬶紝浠嬬粛鐭ヨ瘑鐐瑰涓嬶細
1. 鏂囦歡涓婁紶欏甸潰鍜屾樉紺轟笂浼犳垚鍔熼〉闈唬鐮佸唴瀹廣?
2. UploadAction綾諱腑瀹炵幇涓婁紶鍔熻兘鏂規硶鍜屼笂浼犳枃浠跺睘鎬т粙緇嶃?
3. struts.xml涓璘ploadAction閰嶇疆錛屼互鍙婂瓧絎︾紪鐮併佹枃浠朵復鏃跺瓨鏀捐礬寰勯厤緗?
4. 涓婁紶鍚庢墍澶勮礬寰勫拰鏈緇堜笂浼犳垚鍔熷悗鏁堟灉灞曠ず銆?
<!---------------------鏂囦歡鍚嶏細upload.jsp----------------->
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
    
<head>
        
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
        
<title>涓婁紶鏂囦歡</title>
    
</head>
    
<body>
    
<!-- 涓婁紶鏂囦歡琛ㄥ崟瀹氫箟 -->
    
<s:form action="upload" method="post" enctype="multipart/form-data">
        
<tr>
    
<!-- 涓婁紶鏂囦歡鏍囩瀹氫箟 -->
    
<td>涓婁紶鏂囦歡:<s:file name="file"></s:file></td>
    
</tr>
    
<tr>
    
<td>鍐嶆涓婁紶鏂囦歡:<s:file name="file"></s:file></td>
    
</tr>
    
<tr>
    
<td align="left"><s:submit name="submit" value="鎻愪氦"></s:submit></td>
    
</tr>
    
</s:form>
    
</body>
</html>
 
<!-------------------涓婁紶鏂囦歡鎴愬姛鍚庣粨鏋滈〉闈㈡枃浠跺悕錛歳esult.jsp ----------------->
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
    
<head>
        
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
        
<title>涓婁紶緇撴灉</title>
    
</head>
    
<body>
        涓婁紶鏂囦歡錛?br />        
<!-- 鏄劇ず涓婁紶鎴愬姛鏂囦歡鍚?nbsp;-->
        
<s:property value="fileFileName" />
    
</body>
</html>
<!------------------鏂囦歡鍚嶏細UploadAction.java ------------------>
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;

import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;

//鏂囦歡涓婁紶Action
public class UploadAction extends ActionSupport {
    
//涓婁紶鏂囦歡瀛樻斁璺緞
    private final static String UPLOADDIR = "/upload";
    
//涓婁紶鏂囦歡闆嗗悎
    private List<File> file;
    
//涓婁紶鏂囦歡鍚嶉泦鍚?/span>
    private List<String> fileFileName;
    
//涓婁紶鏂囦歡鍐呭綾誨瀷闆嗗悎
    private List<String> fileContentType;

    
public List<File> getFile() {
        
return file;
    }


    
public void setFile(List<File> file) {
        
this.file = file;
    }


    
public List<String> getFileFileName() {
        
return fileFileName;
    }


    
public void setFileFileName(List<String> fileFileName) {
        
this.fileFileName = fileFileName;
    }


    
public List<String> getFileContentType() {
        
return fileContentType;
    }


    
public void setFileContentType(List<String> fileContentType) {
        
this.fileContentType = fileContentType;
    }


    
public String execute() throws Exception {
        
for (int i = 0; i < file.size(); i++{
            
//寰幆涓婁紶姣忎釜鏂囦歡
            uploadFile(i);
        }

        
return "success";
    }


    
//鎵ц涓婁紶鍔熻兘
    private void uploadFile(int i) throws FileNotFoundException, IOException {
        
try {
            InputStream in 
= new FileInputStream(file.get(i));
            String dir 
= ServletActionContext.getRequest().getRealPath(UPLOADDIR);
            File uploadFile 
= new File(dir, this.getFileFileName().get(i));
            OutputStream out 
= new FileOutputStream(uploadFile);
            
byte[] buffer = new byte[1024 * 1024];
            
int length;
            
while ((length = in.read(buffer)) > 0{
                out.write(buffer, 
0, length);
            }


            in.close();
            out.close();
        }
 catch (FileNotFoundException ex) {
            ex.printStackTrace();
        }
 catch (IOException ex) {
            ex.printStackTrace();
        }

    }

}
struts.xml閰嶇疆鏂囦歡涓湁鍏蟲枃浠朵笂浼犵殑閰嶇疆錛?br /><!--------------------鏂囦歡鍚嶏細struts.xml------------------->
<struts>
 <!-- 緋葷粺甯擱噺瀹氫箟錛屽畾涔変笂浼犳枃浠跺瓧絎﹂泦緙栫爜 -->
 <constant name="struts.i18n.encoding" value="gb2312"></constant>
 <!-- 緋葷粺甯擱噺瀹氫箟錛屽畾涔変笂浼犳枃浠朵復鏃跺瓨鏀捐礬寰?-->
 <constant name="struts.multipart.saveDir" value="c:\"></constant>
 <!-- Action鎵鍦ㄥ寘瀹氫箟 -->
 <package name="C04.4" extends="struts-default">
  <!-- Action鍚嶅瓧錛岀被浠ュ強瀵艱埅欏甸潰瀹氫箟 -->
  <!-- 閫氳繃Action綾誨鐞嗘墠瀵艱埅鐨勭殑Action瀹氫箟 -->
  <action name="upload" class="action.UploadAction">
   <result name="input">/jsp/upload.jsp</result>
   <result name="success">/jsp/result.jsp</result>
  </action>
 </package>
</struts>


youngturk 2012-11-29 23:47 鍙戣〃璇勮
]]>
js寰幆婊氬姩鏂伴椈錛屾渶綆媧佺増 http://www.tkk7.com/youngturk/archive/2012/11/27/392066.htmlyoungturkyoungturkTue, 27 Nov 2012 05:48:00 GMThttp://www.tkk7.com/youngturk/archive/2012/11/27/392066.htmlhttp://www.tkk7.com/youngturk/comments/392066.htmlhttp://www.tkk7.com/youngturk/archive/2012/11/27/392066.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/392066.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/392066.html
<script type="text/javascript">    
//婊氬姩淇℃伅
window.onload=function(){marquee('roll_box','roll_content','roll_temp','40'); }
function marquee(id,id1,id2,speed)
{    
    var obj
=document.getElementById(id);
    var obj1
=document.getElementById(id1);
    var obj2
=document.getElementById(id2);
    obj2.innerHTML
=obj1.innerHTML;
    function scrolly()
{if(obj.scrollTop>=obj1.offsetHeight){obj.scrollTop=0;}else{obj.scrollTop++;}}
//function scrolly(){if(obj.scrollTop>=obj1.offsetHeight){obj1.offsetHeight-=obj.scrollTop;}else{obj.scrollTop++;}}

    var rollTime
=setInterval(scrolly,speed);
    obj.onmouseover
=function(){clearInterval(rollTime);}
    obj.onmouseout
=function(){rollTime=setInterval(scrolly,speed);}
}
 
</script>


<div id="roll_box" style="height:200px;overflow:hidden;"><div id="roll_content">
    
    
<!--婊氬姩鍐呭start-->
    
<li><a href="/index.php/news/show/id/10782" target="_blank">紱忔牸媯?#174;瀛曞緇碊3閽欑墖鎴愬姛鑾峰緱鍥介鍋?img src="http://www.tkk7.com/Images/dot.gif" alt="" /></a><span></span></li>
    
<li><a href="/index.php/news/show/id/10781" target="_blank">鎴戝叕鍙稿枩鑾鋒箹鍖楃渷钁楀悕鍟嗘爣</a><span></span></li>
    
<li><a href="/index.php/news/show/id/10780" target="_blank">鍠滆錛氭垜鍏徃宸茶璇勪負“2010騫村害婀?img src="http://www.tkk7.com/Images/dot.gif" alt="" /></a><span></span></li>
    
<li><a href="/index.php/news/show/id/10779" target="_blank">鎴戝叕鍙稿弬鍔犲崕浜哄崕鍒涘垱涓氬彂灞曟唇璋堜細灞曚細</a></li>
    
<li><a href="/index.php/news/show/id/10775" target="_blank">鍑虹敓緙洪櫡璇婃柇闃叉不榪涘睍楂樼駭鍩硅鐝湪閮戝窞</a></li>
    
<li><a href="/index.php/news/show/id/10774" target="_blank">鏁憡鍚勪綅鏈嬪弸錛氱鏍兼.鍏嶈垂400882</a></li>
    
<li><a href="/index.php/news/show/id/10743" target="_blank">“紱忔牸媯?#8221;鐖卞績濂夌尞婊曞窞甯傜梾孌嬪効瀹跺涵</a></li>
    
<li><a href="/index.php/news/show/id/10742" target="_blank">紱忔牸媯儹鐑堢璐烘箹鍖楃渷璁″垝鐢熻偛鏈嶅姟浜ゆ祦</a></li>
    
<li><a href="/index.php/news/show/id/10740" target="_blank">棰勯槻鍑虹敓緙洪櫡 鍏ㄧぞ浼氱殑璐d換-----</a></li>
    
<li><a href="/index.php/news/show/id/10737" target="_blank">嫻庡崡鏃ユ姤錛氬巻鍩庣瓚鐗笁閬撻槻綰挎嫤鎴嚭鐢熺己</a></li>  
    
<!--婊氬姩鍐呭end-->                      
    
</div><div id="roll_temp"></div>
</div>


youngturk 2012-11-27 13:48 鍙戣〃璇勮
]]>
FCKEditor2.6.3閰嶅悎Java鐨勪嬌鐢ㄦ楠?(鍚庡彴鏂囨湰緙栬緫鍣?http://www.tkk7.com/youngturk/archive/2012/11/13/391261.htmlyoungturkyoungturkTue, 13 Nov 2012 08:36:00 GMThttp://www.tkk7.com/youngturk/archive/2012/11/13/391261.htmlhttp://www.tkk7.com/youngturk/comments/391261.htmlhttp://www.tkk7.com/youngturk/archive/2012/11/13/391261.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/391261.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/391261.htmlFCKEditor鏄竴涓緢濂界殑鐢ㄤ簬Web欏甸潰涓殑鏍煎紡鍖栨枃鏈紪璇戞帶浠躲傜幇鍦ㄨ秺鏉ヨ秺澶氱殑璁哄潧鐨勫彂甯栭〉闈腑鏇村鐨勪嬌鐢ㄤ簡榪欎釜鎺т歡錛屾垜浠繖閲屽皢濡備綍鍦ㄥ熀浜嶫ava鐨剋eb寮鍙戜腑浣跨敤FCKEditor鎺т歡鐨勬楠ゆ彁渚涚粰澶у錛屼負鐨勬槸璁╂洿澶氱殑java寮鍙戣呰姳璐規洿灝戠殑鏃墮棿鍘誨仛閲嶅鍔沖姩銆?

棣栧厛鍘諱笅杞紽CKEditor2.6.3錛堝綋鐒舵湰鏂囩紪鍐欑殑鏃跺欙紝榪欎釜鏄渶鏂扮増鏈紝涔熻浣犵幇鍦ㄧ湅鍒扮殑宸茬粡鏄洿鏂扮殑鐗堟湰浜嗭紝閭d箞鍙兘鏌愪簺閰嶇疆鍔炴硶宸茬粡鍙樺寲浜嗭紝鏈枃涔熷皢璺熻繘浠ヤ繚鎸佹渶鏂板姩鎬侊紝鐩稿弽濡傛灉浣犱嬌鐢ㄧ殑鏃х増鏈殑鎺т歡錛屽叾閰嶇疆鍜屼嬌鐢ㄦ柟娉曚篃鏈夋墍鍖哄埆錛夛紝涓嬭澆鍦板潃錛歨ttp://www.fckeditor.net/download錛屾垜浠渶瑕佷笅杞戒袱涓枃浠?br /> 
絎竴鏄疐CKeditor_2.6.3.zip錛屽氨鏄疐CKEditor鐨勬帶浠訛紱

絎簩鏄疐CKeditor.Java錛坒ckeditor-java-2.4.1-bin.zip錛夛紝灝辨槸鍦↗ava浠g爜涓嬌鐢‵CKEditor鐨勭浉鍏沖伐鍏風被錛?

鏈変簡榪欎袱涓枃浠訛紝浣跨敤FCKEditor鐨勫熀紜灝卞叿澶囦簡錛屾帴涓嬫潵鎴戜滑瑕佸仛涓や歡浜嬫儏錛屼竴浠朵簨鎯呭氨鏄鎶奆CKEditor鎺т歡鏀懼埌web欏圭洰涓紝榪欎釜鎺т歡鏄敤浜庣綉欏電殑錛屾墍浠ュ叾浠g爜鏄嬌鐢↗avaScript鑴氭湰緙栧啓鐨勶紝闇瑕佸拰web緗戦〉涓璧瘋涓嬭澆鐨勬祻瑙堝櫒涓婃墠鑳芥墽琛岋紝絎簩浠朵簨鎯呭氨鏄繖涓綉欏典笂鐨勬帶浠跺洜涓烘敮鎸佸浘鐗囩殑涓婁紶涓庝笅杞斤紝鎵浠ュ湪涓婁紶涓庝笅杞界殑鏃跺欓渶瑕佹湇鍔$鐨勬敮鎸侊紝閭d箞鎴戜滑鎴戠殑java鏈嶅姟绔浣曟敮鎸佽繖涓帶浠剁殑宸ヤ綔鍛紵FCKEditor鑷韓鎻愪緵浜嗙浉鍏崇殑java宸ュ叿錛屽氨鏄垜浠笅杞界殑絎簩涓枃浠躲傚洜姝ゆ垜浠鍋氱殑絎簩浠朵簨鎯呭氨鏄湪鏈嶅姟绔厤緗甹ava宸ュ叿錛屼嬌寰桭CKEditor鎺т歡鍦ㄥ鐞嗕笂浼犲浘鐗囨椂鑳藉姝g‘宸ヤ綔銆?

鎺ヤ笅鏉ユ垜浠氨寮濮嬪閰嶇疆FCKEditor鎺т歡榪涜涓ら」宸ヤ綔錛?

絎竴錛氳В鍘嬬緝FCKeditor_2.6.3.zip錛屽湪鍏朵腑鎴戜滑鑳芥壘鍒頒竴涓枃浠跺す鍙玣ckeditor錛岄偅涔堝皢榪欎釜鏂囦歡澶規暣涓鍒跺埌浣犵殑web搴旂敤鐨勬牴鐩綍涓嬶紝灝辨槸瀛樻斁jsp欏甸潰鐨勫湴鏂廣?

絎簩錛氳В鍘嬬緝fckeditor-java-2.4.1-bin.zip錛屽皢榪欐牱鍑犱釜jar鏂囦歡澶嶅埗鍒皐eb搴旂敤鐨刉EB-INF\lib鐩綍涓紙commons-fileupload-1.2.1.jar錛宑ommons-io-1.3.2.jar錛宩ava-core-2.4.1.jar錛宻lf4j-api-1.5.2.jar錛宻lf4j-simple-1.5.2.jar錛夛紝鍏朵腑鏈鍚庝竴涓枃浠跺湪榪欎釜zip鍖呬腑鍙兘涓嶅瓨鍦紝閭d箞浣犲彲浠ュ幓榪欎釜閾炬帴鍦板潃涓嬭澆涓涓枃浠跺彨fckeditor-java-2.4.1-bin.zip (涓嬭澆鍦板潃錛歨ttp://sourceforge.net/project/showfiles.php?group_id=75348&package_id=129511)錛屽湪榪欎釜war鏂囦歡涓殑lib涓瓨鍦ㄤ笂榪扮殑5涓猨ar鏂囦歡錛屽叾瀹炲湪war涓篃鍖呭惈浜咶CKEditor鎺т歡鐨勫唴瀹癸紝涔熷氨鏄濡傛灉浣犲彧鏄笅杞戒簡war涔熷彲浠ヤ簡銆傜劧鍚庡湪classpath鐩綍涓垱寤轟竴涓悕鍙負fckeditor.properties鐨勬枃浠訛紝鏂囦歡涓斁緗竴琛屽唴瀹逛負錛歝onnector.userActionImpl=net.fckeditor.requestcycle.impl.UserActionImpl錛?

鍦╳eb.xml涓坊鍔犱竴涓猄ervlet鐨勯厤緗紝閰嶇疆鍐呭濡備笅錛?

<servlet>
<servlet>
<servlet-name>Connector</servlet-name>
<servlet-class>net.fckeditor.connector.ConnectorServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>Connector</servlet-name>
<url-pattern>/fckeditor/editor/filemanager/connectors/*</url-pattern>
</servlet-mapping>

濂戒簡錛岀幇鍦ㄤ綘宸茬粡瀹屾垚浜嗛厤緗殑榪囩▼錛屾帴涓嬫潵鎴戜滑闇瑕佸湪jsp涓嬌鐢‵CKEditor鎺т歡浜嗭紝鍦ㄩ渶瑕佷嬌鐢ㄨ繖涓帶浠剁殑jsp鏂囦歡鐨勫紑澶存坊鍔犳爣絳懼簱鐨勫紩鍏ヨ鍙ワ細<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>錛屽湪浣跨敤鎺т歡榪涜鏂囨湰鏍煎紡鍖栬緭鍏ョ殑鍦版柟錛堝師鏉ヤ綘鍙兘浣跨敤鐨則extarea鏍囩錛変嬌鐢ㄥ涓嬬殑鍐呭鏉ユ浛鎹㈠師鏉ョ殑杈撳叆鎺т歡錛?

<FCK:editor instanceName="EditorDefault">

鎺т歡涓鏄劇ず鐨勫垵濮嬪唴瀹?

</FCK:editor>

鍏朵腑instanceName灞炴х殑鍊煎氨鐩稿綋浜巉orm琛ㄥ崟涓殑input鐨刵ame鍊箋傚氨鏄〃鍗曟彁浜ゆ椂鍊欑殑閿煎涓殑閿殑鍚嶅瓧銆?



youngturk 2012-11-13 16:36 鍙戣〃璇勮
]]>
EL琛ㄨ揪寮忎笉璧蜂綔鐢ㄥ師鍥?/title><link>http://www.tkk7.com/youngturk/archive/2012/11/13/391246.html</link><dc:creator>youngturk</dc:creator><author>youngturk</author><pubDate>Tue, 13 Nov 2012 03:04:00 GMT</pubDate><guid>http://www.tkk7.com/youngturk/archive/2012/11/13/391246.html</guid><wfw:comment>http://www.tkk7.com/youngturk/comments/391246.html</wfw:comment><comments>http://www.tkk7.com/youngturk/archive/2012/11/13/391246.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/youngturk/comments/commentRss/391246.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/youngturk/services/trackbacks/391246.html</trackback:ping><description><![CDATA[web.xml涓?.4鐗堟湰鐨勯粯璁ゅ鍏ョ殑standerd.jar,鍜宩stl.jar鏄嬌鐢╡l琛ㄨ揪寮忕殑鍖呮槸鍚姩鐨?br />鑰?.5鐗堟湰鐨剋eb.xml涓粯璁ゆ槸鍏抽棴鐨?br />鎵浠ュ湪2.5鐨勬墍鏈塲sp涓渶瑕佸惎鍔ㄤ竴涓?br />鐢?lt;% page isELIgnored="false"%><br /><br /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">el琛ㄨ揪寮忎笉璧蜂綔鐢?/span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">        浠婂ぉ鐢╡l琛ㄨ揪寮忥紝鑰佹槸寰椾笉鍒板悗鍙頒紶榪囨潵鐨勫箋傝瀵煎叆鐨刯ar鍖呭拰鏍囩搴撲篃閮藉鍏ヤ簡銆傝繕鏄笉璧蜂綔鐢ㄣ傚悗鏉ュ湪緗戜笂鎵懼埌涓綃囨枃绔犮傝В鍐充簡銆傚師鏉ユ槸鐗堟湰鐨勯棶棰樸傜幇鍦ㄨ創涓涓嬨?/span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">tomcat5.0鐨勭増鏈? 浣跨敤浜嗕綆鐗堟湰錛屽彧姹傜ǔ瀹氥?/span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">web.xml</span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><?xml version="1.0" encoding="ISO-8859-1"?></span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><web-app xmlns="http://java.sun.com/xml/ns/j2ee"</span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"</span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">    version="2.4"></span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">2.4鐗堟湰榛樿鍚敤el琛ㄨ揪寮忥紝濡傛灉浣跨敤2.5鐗堟湰錛岄粯璁l琛ㄨ揪寮忔槸鍏抽棴鐨?/span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><?xml version="1.0" encoding="UTF-8"?></span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><web-app xmlns="http://java.sun.com/xml/ns/javaee" </span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" </span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee   </span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"></span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">閭d箞瀵瑰簲2.5鐨剋eb.xml -->  jsp欏甸潰閲屽簲璇ュ鍔?lt;%@ page isELIgnored="false"%></span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">涓鍙ヨ瘽錛屽嚒鏄儴緗叉弿榪版枃浠墮伒寰猄ervlet2.4瑙勮寖鐨刉EB搴旂敤錛孍L琛ㄨ揪寮忕殑璁$畻榛樿鏄惎鐢ㄧ殑錛岃屾湭閬靛驚鐨勶紝鍒橢L琛ㄨ揪寮忕殑璁$畻榛樿鏄鐢ㄧ殑銆?/span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鎵浠ヨВ鍐蟲柟妗堣繕鍙互鏄細灝唚eb.xml涓殑DTD(鏂囨。綾誨瀷瀹氫箟)鏀歸棶2.4鐨勭増鏈?/span><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><br style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; font: 14px/26px Arial; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" /><span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(255,255,255); text-indent: 0px; display: inline !important; font: 14px/26px Arial; white-space: normal; orphans: 2; float: none; letter-spacing: normal; color: rgb(51,51,51); word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px">鎴戠敤鐨勬槸鍦ㄥ叕鍏遍〉涓姞鍏?lt;%@ page isELIgnored="false"%>錛岀劧鍚庢瘡涓〉闈㈠紩鍏ュ叕鍏遍〉銆傞棶棰樿В鍐充簡銆?/span><img src ="http://www.tkk7.com/youngturk/aggbug/391246.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/youngturk/" target="_blank">youngturk</a> 2012-11-13 11:04 <a href="http://www.tkk7.com/youngturk/archive/2012/11/13/391246.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬EL琛ㄨ揪寮忎腑requestScope鍜宲aram鍖哄埆 http://www.tkk7.com/youngturk/archive/2012/11/12/391205.htmlyoungturkyoungturkMon, 12 Nov 2012 07:30:00 GMThttp://www.tkk7.com/youngturk/archive/2012/11/12/391205.htmlhttp://www.tkk7.com/youngturk/comments/391205.htmlhttp://www.tkk7.com/youngturk/archive/2012/11/12/391205.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/391205.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/391205.html

浠婂ぉ婕旂ずEL琛ㄨ揪寮忕殑鏃跺欏彂鐜拌嚜宸眏sp鐨勫熀紜瀹炲湪鏄杽寮憋紝鍦ㄨ繖涓緢綆鍗曠殑闂涓婅糠鎯戜簡寰堜箙銆?/p>

棣栧厛鍦ㄧ湅閬囧埌鐨勯棶棰橈細

鍦ㄦ祻瑙堝櫒鍦板潃杈撳叆錛岃〃紺轟紶鍏ヤ竴涓弬鏁皌est錛屽間負123

http://localhost:8888/Test/index.jsp?test=123


鍦╥ndex.jsp涓皾璇曚嬌鐢‥L琛ㄨ揪寮忓彇鍑猴紝浠g爜濡備笅錛?/p>

 <body>
${test}
</body>

鍙戠幇姣棤緇撴灉錛屽啀浣跨敤requestScope灝濊瘯鍙栧嚭錛?/p>

  <body>
${requestScope.test}
</body>

鍙戠幇榪樻槸姣棤緇撴灉錛屾劅鍒伴潪甯歌寮傦紝閬傚共鑴嗕嬌鐢╦ava鑴氭湰灝濊瘯鍙栧嚭銆?/p>

  <body>
<%request.getAttribute("test"); %>
</body>


渚濈劧鏃犺В銆?/p>

涔嬪悗鍙戠幇錛岃嫢浣跨敤宸蹭笅浠g爜鍚憆equest浣滅敤鍩熻祴鍊鹼紝鍒欑敤涓婇潰浠g爜鍙互鍙栧嚭

<%
request.setAttribute(
"test", "123");
%>

 


鏌ヨ璧勬枡鍚庡彂鐜幫紝浣跨敤浠ヤ笅浠g爜鍙互鍙栧嚭涔嬪墠鐨勮姹傚弬鏁幫細
EL:

  <body>
${param.test}
</body>

JAVA鑴氭湰錛?/p>

  <body>
<%=request.getParameter("test") %>
</body>

緇撹灝辨槸錛?span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: #ff0000; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none" class="Apple-style-span">${param.name} 絳変環浜?request.getParamter("name")錛岃繖涓ょ鏂規硶涓鑸敤浜庢湇鍔″櫒浠庨〉闈㈡垨鑰呭鎴風鑾峰彇鐨勫唴瀹廣?/span>

銆銆銆銆銆${requestScope.name} 絳変環浜?nbsp;request.getAttribute("name")錛屼竴鑸槸浠庢湇鍔″櫒浼犻掔粨鏋滃埌欏甸潰錛屽湪欏甸潰涓彇鍑烘湇鍔″櫒淇濆瓨鐨勫箋?/span>

 

鍙傝冭祫鏂欙細

el琛ㄨ揪寮忎腑鐨?{param}

http://topic.csdn.net/u/20090103/15/779af9b8-c3a7-4f3e-82fe-b08bf2630996.html



youngturk 2012-11-12 15:30 鍙戣〃璇勮
]]>
鍏充簬EL琛ㄨ揪寮忎腑requestScope鍜宲aram鍖哄埆 http://www.tkk7.com/youngturk/archive/2012/11/12/391206.htmlyoungturkyoungturkMon, 12 Nov 2012 07:30:00 GMThttp://www.tkk7.com/youngturk/archive/2012/11/12/391206.htmlhttp://www.tkk7.com/youngturk/comments/391206.htmlhttp://www.tkk7.com/youngturk/archive/2012/11/12/391206.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/391206.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/391206.html

浠婂ぉ婕旂ずEL琛ㄨ揪寮忕殑鏃跺欏彂鐜拌嚜宸眏sp鐨勫熀紜瀹炲湪鏄杽寮憋紝鍦ㄨ繖涓緢綆鍗曠殑闂涓婅糠鎯戜簡寰堜箙銆?/p>

棣栧厛鍦ㄧ湅閬囧埌鐨勯棶棰橈細

鍦ㄦ祻瑙堝櫒鍦板潃杈撳叆錛岃〃紺轟紶鍏ヤ竴涓弬鏁皌est錛屽間負123

http://localhost:8888/Test/index.jsp?test=123


鍦╥ndex.jsp涓皾璇曚嬌鐢‥L琛ㄨ揪寮忓彇鍑猴紝浠g爜濡備笅錛?/p>

 <body>
${test}
</body>

鍙戠幇姣棤緇撴灉錛屽啀浣跨敤requestScope灝濊瘯鍙栧嚭錛?/p>

  <body>
${requestScope.test}
</body>

鍙戠幇榪樻槸姣棤緇撴灉錛屾劅鍒伴潪甯歌寮傦紝閬傚共鑴嗕嬌鐢╦ava鑴氭湰灝濊瘯鍙栧嚭銆?/p>

  <body>
<%request.getAttribute("test"); %>
</body>


渚濈劧鏃犺В銆?/p>

涔嬪悗鍙戠幇錛岃嫢浣跨敤宸蹭笅浠g爜鍚憆equest浣滅敤鍩熻祴鍊鹼紝鍒欑敤涓婇潰浠g爜鍙互鍙栧嚭

<%
request.setAttribute(
"test", "123");
%>

 


鏌ヨ璧勬枡鍚庡彂鐜幫紝浣跨敤浠ヤ笅浠g爜鍙互鍙栧嚭涔嬪墠鐨勮姹傚弬鏁幫細
EL:

  <body>
${param.test}
</body>

JAVA鑴氭湰錛?/p>

  <body>
<%=request.getParameter("test") %>
</body>

緇撹灝辨槸錛?span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: #ff0000; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none" class="Apple-style-span">${param.name} 絳変環浜?request.getParamter("name")錛岃繖涓ょ鏂規硶涓鑸敤浜庢湇鍔″櫒浠庨〉闈㈡垨鑰呭鎴風鑾峰彇鐨勫唴瀹廣?/span>

銆銆銆銆銆${requestScope.name} 絳変環浜?nbsp;request.getAttribute("name")錛屼竴鑸槸浠庢湇鍔″櫒浼犻掔粨鏋滃埌欏甸潰錛屽湪欏甸潰涓彇鍑烘湇鍔″櫒淇濆瓨鐨勫箋?/span>

 

鍙傝冭祫鏂欙細

el琛ㄨ揪寮忎腑鐨?{param}

http://topic.csdn.net/u/20090103/15/779af9b8-c3a7-4f3e-82fe-b08bf2630996.html



youngturk 2012-11-12 15:30 鍙戣〃璇勮
]]>
涔辯爜杞爜闂http://www.tkk7.com/youngturk/archive/2012/10/11/389386.htmlyoungturkyoungturkThu, 11 Oct 2012 06:53:00 GMThttp://www.tkk7.com/youngturk/archive/2012/10/11/389386.htmlhttp://www.tkk7.com/youngturk/comments/389386.htmlhttp://www.tkk7.com/youngturk/archive/2012/10/11/389386.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/389386.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/389386.htmlconvert(username, "ISO8850-1","GBK")
convert(username, 
"ISO8850-1","ISO8850-1")
public static String convert(String src, String decoding, String encoding) {
        
if(src == null || decoding == null || encoding == null)
            
return null;

        
if(decoding.equals(encoding))
            
return src;

        String rs 
= null;
        
try {
            
byte[] tb = src.getBytes(decoding);
            rs 
= new String(tb, 0, tb.length, encoding);
        }
 catch (UnsupportedEncodingException e) {
            rs 
= src;
        }


        
return rs;
鎴栬?String username 
=new String(request.getParameter("username").getBytes("iso8859-1"),"gbk");


youngturk 2012-10-11 14:53 鍙戣〃璇勮
]]>
鎶etOutputStream() has already been called for this response 榪欎釜閿欒http://www.tkk7.com/youngturk/archive/2012/09/24/388450.htmlyoungturkyoungturkMon, 24 Sep 2012 09:33:00 GMThttp://www.tkk7.com/youngturk/archive/2012/09/24/388450.htmlhttp://www.tkk7.com/youngturk/comments/388450.htmlhttp://www.tkk7.com/youngturk/archive/2012/09/24/388450.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/388450.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/388450.html    涓嬮潰涓ょ偣鏄垜鑷繁鎬葷粨鍑烘潵鐨勶細
    1銆佸湪鎴戜滑搴旂敤楠岃瘉鐮佹椂錛岄兘浼氱敤鍒板瓧鑺傛祦response.getOutputStream()鏉ュ皢楠岃瘉鐮佽緭鍑猴紝浣嗘槸jsp欏甸潰鑷繁鏈鍚庝細璋冪敤瀛楃嫻丣spWriter鐨刼ut()鏂規硶灝嗛〉闈㈢殑鍐呭杈撳嚭銆傞氳繃鏌ョ湅servlet鐨凙PI鎴戜滑鍙互鐪嬪埌鐭ラ亾錛屽湪servlet涓笉鑳藉鍚屾椂鍒╃敤榪欎袱涓祦杈撳嚭錛岃В鍐沖姙娉曞皢楠岃瘉鐮佸啓鍦╯ervlet涓紝鍏蜂綋瑙佷笅闈€?br />    2銆佺浉淇¤姹傝漿鍙? request.getRequestDispacher().forward() )鍜岃姹傝煩杞? response.sendRedirect() )鐨勫尯鍒ぇ瀹墮兘鐭ラ亾銆傚叾涓璻equest.getRequestDispacher().forward() 鏂規硶鐨勮皟鐢ㄨ呬笌琚皟鐢ㄨ呬箣闂村叡浜浉鍚岀殑request瀵硅薄鍜宺esponse瀵硅薄錛屽畠浠睘浜庡悓涓涓闂姹傚拰鍝嶅簲榪囩▼銆侸SP欏甸潰杞瘧涓虹殑_servlet浼氭渶鍚庤皟鐢╮eleasePageContext()鏂規硶( All PageContext objects obtained via this method shall be released by invoking releasePageContext().)閲婃斁鎴戜滑欏甸潰鎵鏈夌殑瀹炰綋瀵硅薄錛屽綋鎴戜滑鐨勮皟鐢ㄨ呮湁欏甸潰杈撳嚭鏃訛紝灝變細鎶涘嚭榪欎釜寮傚父銆傚叿浣撳師鍥犱篃娌℃湁寮勬竻妤氾紝鍚勪綅澶т緺濡傛灉璋佺煡閬撳彲浠ュ憡鐭ヤ竴涓嬨傚叾瀹為獙璇佺爜涔熸槸鍚屼竴涓師鐞嗭紝濡傛灉鎴戜滑灝嗛獙璇佺爜鐨勪唬鐮佸啓鍦╦sp欏甸潰涓紝鍥犱負jsp欏甸潰浼氳皟鐢↗spWriter鐨刼ut()鏂規硶灝嗗唴瀹硅緭鍑猴紝鍚屾椂鎴戜滑鐨勫浘鐗囧張璋冪敤浜唕esponse.getOutputStream()鏂規硶鍥犳浼氭姏鍑鴻繖涓紓甯革紱濡傛灉鎴戜滑灝嗛獙璇佺爜鍐欏湪servlet涓紝灝變笉浼氬悓鏃朵嬌鐢ㄤ袱縐嶈緭鍑轟篃灝變笉浼氬嚭閿欍傛湁鏃跺嵆浣胯皟鐢ㄨ呴〉闈㈡病鏈夎緭鍑猴紝涔熶細鎶涘嚭榪欎釜寮傚父錛屼粩緇嗙湅jsp杞瘧浠ュ悗鐨勬簮鐮佸彂鐜拌緭鍑轟簡鎹㈣錛屽洜姝わ紝鎴戜滑鏈濂芥妸璋冪敤鑰呴〉闈㈢殑%>鍜?lt;%涔嬮棿鎹㈣鍘繪帀錛屾妸%>鍜?lt;%鐩存帴鍐欏湪涓璧楓?br />    鍙﹀錛屽鏋滄垜浠疄鍦ㄨ鍦╦sp涓敤鍒皉esponse.getOutputStream()錛屾瘮濡傞獙璇佺爜銆乯spSmartUpload錛屾垜浠渶瑕佸湪鏈鍚庡姞鍏ュ涓嬩唬鐮侊細
        response.reset();
        out.clear();
        out=pageContext.pushBody();



youngturk 2012-09-24 17:33 鍙戣〃璇勮
]]>
褰搒ession闀挎椂闂翠笉鐧誨綍澶辨晥闂,鍐嶉噸鐧誨綍鍑虹幇涓や釜宓屽鐧誨綍欏甸潰http://www.tkk7.com/youngturk/archive/2012/08/02/384586.htmlyoungturkyoungturkThu, 02 Aug 2012 03:11:00 GMThttp://www.tkk7.com/youngturk/archive/2012/08/02/384586.htmlhttp://www.tkk7.com/youngturk/comments/384586.htmlhttp://www.tkk7.com/youngturk/archive/2012/08/02/384586.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/384586.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/384586.html<script   language="javascript">  
      if (top != window)  
      top.location.href = window.location.href;  
  </script> 



youngturk 2012-08-02 11:11 鍙戣〃璇勮
]]>
html鏍煎紡http://www.tkk7.com/youngturk/archive/2007/07/24/131968.htmlyoungturkyoungturkTue, 24 Jul 2007 01:34:00 GMThttp://www.tkk7.com/youngturk/archive/2007/07/24/131968.htmlhttp://www.tkk7.com/youngturk/comments/131968.htmlhttp://www.tkk7.com/youngturk/archive/2007/07/24/131968.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/131968.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/131968.htmlcolspan鍚堝茍鍒?/span>JSP璇硶<jsp:useBean>http://www.tkk7.com/youngturk/archive/2007/01/26/96205.htmlyoungturkyoungturkFri, 26 Jan 2007 09:42:00 GMThttp://www.tkk7.com/youngturk/archive/2007/01/26/96205.htmlhttp://www.tkk7.com/youngturk/comments/96205.htmlhttp://www.tkk7.com/youngturk/archive/2007/01/26/96205.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/96205.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/96205.html JSP璇硶 鍏充簬jsp涓?lt;jsp:usebean>http://www.tkk7.com/youngturk/archive/2007/01/26/96204.htmlyoungturkyoungturkFri, 26 Jan 2007 09:40:00 GMThttp://www.tkk7.com/youngturk/archive/2007/01/26/96204.htmlhttp://www.tkk7.com/youngturk/comments/96204.htmlhttp://www.tkk7.com/youngturk/archive/2007/01/26/96204.html#Feedback1http://www.tkk7.com/youngturk/comments/commentRss/96204.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/96204.html jsp:usebean 鐨勮緇嗙敤娉?/span> JSP鎽樺綍http://www.tkk7.com/youngturk/archive/2007/01/26/96183.htmlyoungturkyoungturkFri, 26 Jan 2007 08:54:00 GMThttp://www.tkk7.com/youngturk/archive/2007/01/26/96183.htmlhttp://www.tkk7.com/youngturk/comments/96183.htmlhttp://www.tkk7.com/youngturk/archive/2007/01/26/96183.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/96183.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/96183.html HTTP-EQUIV綾諱技浜嶩TTP鐨勫ご閮ㄥ崗璁?瀹冨洖搴旂粰嫻忚鍣ㄤ竴浜涙湁鐢ㄧ殑淇℃伅,浠ュ府鍔╂紜拰綺劇‘鍦版樉紺虹綉欏靛唴瀹廣傚父鐢ㄧ殑HTTP-EQUIV綾誨瀷鏈? 1銆丆ontent-Type鍜孋ontent-Language (鏄劇ず瀛楃闆嗙殑璁懼畾)
http-equiv="Page-Exit"鐨勬剰鎬濇槸鎸囬〉闈㈢寮鏃朵駭鐢熸晥鏋溿?瀹冩湁涓縐嶅啓娉?濡? http-equiv="Page-Enter"鍒欐槸鎸囬〉闈㈣繘鍏ユ椂浜х敓鐨勬晥鏋溿?br />
session鐨勪紶閫?/span>


youngturk 2007-01-26 16:54 鍙戣〃璇勮
]]>
jsp鍒濊瘑http://www.tkk7.com/youngturk/archive/2007/01/26/96163.htmlyoungturkyoungturkFri, 26 Jan 2007 07:15:00 GMThttp://www.tkk7.com/youngturk/archive/2007/01/26/96163.htmlhttp://www.tkk7.com/youngturk/comments/96163.htmlhttp://www.tkk7.com/youngturk/archive/2007/01/26/96163.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/96163.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/96163.html

鍒濆
JavaBean 鐨凧SP
涓嬫媺妗?/span>


youngturk 2007-01-26 15:15 鍙戣〃璇勮
]]>
欏甸潰闂撮摼鎺ュ拰鏁版嵁浼犻掔殑涓夌鏂瑰紡http://www.tkk7.com/youngturk/archive/2007/01/19/94965.htmlyoungturkyoungturkFri, 19 Jan 2007 09:13:00 GMThttp://www.tkk7.com/youngturk/archive/2007/01/19/94965.htmlhttp://www.tkk7.com/youngturk/comments/94965.htmlhttp://www.tkk7.com/youngturk/archive/2007/01/19/94965.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/94965.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/94965.html 01 .html聽 < html ...  闃呰鍏ㄦ枃

youngturk 2007-01-19 17:13 鍙戣〃璇勮
]]>
琛ㄥ崟鐨勯獙璇?/title><link>http://www.tkk7.com/youngturk/archive/2007/01/19/94951.html</link><dc:creator>youngturk</dc:creator><author>youngturk</author><pubDate>Fri, 19 Jan 2007 08:11:00 GMT</pubDate><guid>http://www.tkk7.com/youngturk/archive/2007/01/19/94951.html</guid><wfw:comment>http://www.tkk7.com/youngturk/comments/94951.html</wfw:comment><comments>http://www.tkk7.com/youngturk/archive/2007/01/19/94951.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/youngturk/comments/commentRss/94951.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/youngturk/services/trackbacks/94951.html</trackback:ping><description><![CDATA[     鎽樿: 瀹㈡埛绔殑楠岃瘉 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 聽聽聽聽聽聽聽琛ㄥ崟鐨勫鎴風楠岃瘉涓昏鏄氳繃JavaScript鏉ュ畬鎴愮殑銆? < htm...  <a href='http://www.tkk7.com/youngturk/archive/2007/01/19/94951.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/youngturk/aggbug/94951.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/youngturk/" target="_blank">youngturk</a> 2007-01-19 16:11 <a href="http://www.tkk7.com/youngturk/archive/2007/01/19/94951.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬Enumerationhttp://www.tkk7.com/youngturk/archive/2007/01/19/94942.htmlyoungturkyoungturkFri, 19 Jan 2007 07:28:00 GMThttp://www.tkk7.com/youngturk/archive/2007/01/19/94942.htmlhttp://www.tkk7.com/youngturk/comments/94942.htmlhttp://www.tkk7.com/youngturk/archive/2007/01/19/94942.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/94942.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/94942.html <%

聽聽 //寰楀埌鎵鏈夌殑鍙傛暟鍚嶇О,涓涓疄鐜?Enumeration 鎺ュ彛鐨勫璞$敓鎴愪竴緋誨垪鍏冪礌錛屾瘡嬈$敓鎴愪竴涓?/span>

聽聽 java.util.Enumeration e=request.getParameterNames();

聽聽 // 瀵規墍鏈夊弬鏁拌繘琛屽驚鐜?/span>

聽聽 while(e.hasMoreElements())聽
聽聽 {

聽聽聽聽聽 // 寰楀埌鍙傛暟鍚?/span>

聽聽聽聽聽 String name=(String)e.nextElement();

聽聽聽聽聽 // 寰楀埌榪欎釜鍙傛暟鐨勬墍鏈夊?/span>

聽聽聽聽聽 String[] value=request.getParameterValues(name);

聽聽聽聽聽 // 杈撳嚭鍙傛暟鍚?/span>

聽聽聽聽聽 out.print("<p>");

聽聽聽聽 out.print("<h3>"+name+":");

聽聽聽聽聽 // 瀵逛竴涓弬鏁版墍鏈夌殑鍊艱繘琛屽驚鐜?/span>

聽聽聽聽聽 for(inti=0;i<value.length;i++)

聽聽聽聽聽 {

聽聽聽聽聽聽聽聽 // 杈撳嚭涓涓弬鏁板?/span>

聽聽聽聽聽聽聽聽 out.print(value[i]);

聽聽聽聽聽聽聽聽 if(i!=value.length-1)

聽聽聽聽聽聽聽聽 out.print(",");

聽聽聽聽聽 }

聽聽聽聽聽 out.print("</h3></p>");

聽聽 }

%>

鍒嗘瀽


youngturk 2007-01-19 15:28 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲国产精品VA在线观看麻豆| 亚洲av无码专区在线电影天堂 | 亚洲熟妇无码八V在线播放| 亚洲免费综合色在线视频| 黄页网站在线观看免费| 免费a级毛片无码a∨免费软件| 24小时日本电影免费看| 精品国产一区二区三区免费看| 亚洲视频在线一区二区| 亚洲高清视频在线播放| 亚洲成a人无码亚洲成av无码 | 成人黄软件网18免费下载成人黄18免费视频 | 亚洲中文字幕一区精品自拍| 免费人成大片在线观看播放| 免费观看成人久久网免费观看| 中文字幕无码免费久久99| 亚洲精品专区在线观看| 亚洲欧洲国产成人精品| 美女羞羞喷液视频免费| 免费女人高潮流视频在线观看| 成人免费福利电影| 精品国产_亚洲人成在线高清| 亚洲人xxx日本人18| 国产精品视频全国免费观看| 免费看美女裸露无档网站| 亚洲最大av无码网址| 亚洲成年人电影在线观看| 日韩免费在线中文字幕| 亚洲网站在线免费观看| 亚洲熟妇少妇任你躁在线观看无码| 18亚洲男同志videos网站| 免费一级做a爰片久久毛片潮| 91成人在线免费观看| 亚洲精品成人在线| 国产精品高清视亚洲精品| 99视频在线免费观看| 狼友av永久网站免费观看| 亚洲国产香蕉碰碰人人| 九一在线完整视频免费观看| 在线v片免费观看视频| 亚洲av无码专区国产乱码在线观看 |