锘??xml version="1.0" encoding="utf-8" standalone="yes"?>www.亚洲一区,国产精品亚洲а∨无码播放,亚洲成a人无码亚洲成www牛牛http://www.tkk7.com/youngturk/category/51770.htmlThe world is a fine place , and worth fighting for it.zh-cnTue, 16 Jul 2013 07:45:21 GMTTue, 16 Jul 2013 07:45:21 GMT60鐩存帴璁塊棶鍚庡彴錛岃煩榪噁ilter榪囨護鍣?AuthorizationFilter.java錛宖ilter涓虹壒瀹氭潈闄愯繃婊ゅ櫒http://www.tkk7.com/youngturk/archive/2013/07/12/401496.htmlyoungturkyoungturkFri, 12 Jul 2013 05:15:00 GMThttp://www.tkk7.com/youngturk/archive/2013/07/12/401496.htmlhttp://www.tkk7.com/youngturk/comments/401496.htmlhttp://www.tkk7.com/youngturk/archive/2013/07/12/401496.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/401496.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/401496.htmlweb.xml
<filter>
        
<filter-name>AuthorizationFilter</filter-name>
        
<filter-class>com.cenin.util.filter.AuthorizationFilter</filter-class>
    
</filter>
<filter-mapping>
        
<filter-name>AuthorizationFilter</filter-name>
        
<url-pattern>/*</url-pattern>
    </filter-mapping>
AuthorizationFilter.java
public class AuthorizationFilter implements Filter
{

    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
    {

        HttpServletRequest request = (HttpServletRequest) req;
        HttpServletResponse response = (HttpServletResponse) resp;
        HttpSession session = request.getSession();

        String servletPath = request.getServletPath();//鑾峰緱濡傦細 /baseinfo/codeBillTypeList.action

        Object user = session.getAttribute(Config.getConfig().getSessionUser());

        //鍒ゆ柇鏉冮檺
        boolean passed = true;


        /*if(user == null && (servletPath.indexOf("action")>=0 )){
            passed = false;
            String[] noLimit = Config.getConfig().getNoFilter().split(";");
            for(int i=0;i<noLimit.length;i++){
                if(servletPath.matches(noLimit[i])){
                    System.out.println(servletPath + "  " + noLimit[i]);
                    passed = true;
                    break;
                }
            }
        }
*/

        request.getRequestDispatcher(servletPath).forward(request, response);
//鎺у埗struts or xwork璺寵漿

//        if(passed)
//            chain.doFilter(request, response);
//        else
//        {
//            String modelType = request.getParameter("model.bmoduleType");
//            String particalUrl = request.getParameter("particalUrl");
//            session.setAttribute("model.bmoduleType", modelType);
//            session.setAttribute("particalUrl", particalUrl);
//            String url = Config.getConfig().getPageLogin();
//            RequestDispatcher dispatcher = request.getRequestDispatcher(url);
//            dispatcher.forward(request, response);
//        }
    }
    
public void init(FilterConfig filterConfig) throws ServletException
    
{

    }

    
public void destroy()
    
{

    }


}
xwork.xml娣誨姞
<include file="xwork-onlinehall.xml"/>
xwork
-onlinehall.xml鏂囦歡鍐呭錛?br /><package name="onlinehall" extends="cenin" namespace="/onlinehall" externalReferenceResolver="com.atlassian.xwork.ext.SpringServletContextReferenceResolver">
<action name="myOrderLoadList" class="com.cenin.web.action.onlinehall.MyOrderAction" method="myOrderLoadList">
            
<result name="success" type="freemarker">/onlinehall/myOrder.ftl</result>
        
</action>   
</package>
MyOrder.java鍐呭
public class MyOrderAction extends BaseActionSupport {
public String myOrderLoadList() throws Exception {}
}


youngturk 2013-07-12 13:15 鍙戣〃璇勮
]]>
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 鍙戣〃璇勮
]]>
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#Feedback1http://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>妗嗘灦鎼緩濂藉悗,娌℃湁璇︾粏鐨勯敊璇俊鎭?涓婚〉鏃犳硶璁塊棶.鐢╰omcat鍘昏皟璇?娌℃湁璇︾粏log..http://www.tkk7.com/youngturk/archive/2012/11/08/391032.htmlyoungturkyoungturkThu, 08 Nov 2012 08:19:00 GMThttp://www.tkk7.com/youngturk/archive/2012/11/08/391032.htmlhttp://www.tkk7.com/youngturk/comments/391032.htmlhttp://www.tkk7.com/youngturk/archive/2012/11/08/391032.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/391032.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/391032.html榪欎袱澶╁湪鎼緩struts2+spring+hibernate妗嗘灦鐨勮繃紼嬩腑閬囧埌濡傞鐨勯敊璇紝鍦ㄧ櫨搴﹀拰璋鋒瓕涓婃煡浜嗕袱澶╋紝浠ヨ嚧蹇埌浜嗗穿婧冪殑杈圭紭銆傛渶鍚庤繕鏄В鍐充簡銆傝繖涓棶棰樼殑鍑虹幇錛屽師鍥犳湁寰堝錛屽湪榪欐葷粨濡備笅錛屼互渚涘垎浜細



妗嗘灦鎼緩濂藉悗錛屽惎鍔ㄦ湇鍔″櫒鍑虹幇濡備笅鐨勪俊鎭細

log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).

log4j:WARN Please initialize the log4j system properly.

2009-11-6 21:39:17 org.apache.catalina.core.StandardContext start

涓ラ噸: Error listenerStart

2009-11-6 21:39:17 org.apache.catalina.core.StandardContext start

涓ラ噸: Context startup failed due to previous errors

2009-11-6 21:39:17 org.apache.catalina.core.StandardHostDeployer install

淇℃伅: Installing web application at context path /tomcat-docs from URL file:D:/server/Tomcat 5.0/webapps/tomcat-docs

2009-11-6 21:39:17 org.apache.catalina.core.StandardHostDeployer install

淇℃伅: Installing web application at context path /webdav from URL file:D:/server/Tomcat 5.0/webapps/webdav

銆傘傘傘?br />


鍙兘鍑洪敊鐨勫湴鏂癸細

1.web.xml鏂囦歡 web搴旂敤閮ㄧ講鎻忚堪絎︼紝閲岄潰鐨勯儴緗茬殑xml鏂囦歡鎴栬呯被錛屽鏋滆繖浜涙壘涓嶅埌灝變細鍙戠敓startup failed due to previous errors閿欒銆?br />
2.濡傛灉鍦ㄥ簲鐢╯pring鐨勮瘽錛屽湪閰嶇疆鏂囦歡applicationContext.xml涓畾涔夌殑綾匯亁ml鏂囦歡鎵句笉鍒頒篃浼氭姤榪欎釜閿欒銆?br />
3.鍦╳eb.xml錛宻truts.xml錛宎pplicationContext.xml鏂囦歡涓嚜韜湁浠諱綍涓鐐歸敊璇兘鍙兘寮曡搗涓婇潰鐨勮繖涓棶棰橈紝鑰屼笉浠呬粎鏄檮甯︾殑鏂囦歡閿欒瀵艱嚧銆?br />
4.濡傛灉浣跨敤ibatis鐨勮瘽錛屽湪SqlMapConfig.xml涓畾涔夌殑xml鏂囦歡鎵句笉鍒頒篃浼氭姤榪欎釜閿欒銆傦紙hibernate鐨勯厤緗湪鏁村悎spring鐨勬椂鍊欎嬌鐢╯pring鐨勯厤緗枃浠訛級

5.JDK鐨勭増鏈棶棰橈紝鏈濂戒嬌鐢↗DK5.0 鎴栬呮洿楂樼殑鐗堟湰銆?br />
6.Eclipse鍜宼omcat鐨勭増鏈吋瀹歸棶棰?br />
7.妗嗘灦鏁村悎鐨勮繃紼嬩腑鍦ㄥ鍏ュ埌lib涓嬬殑jar鍖呭啿紿佷篃鍙兘浜х敓璇ラ敊璇?br />
8.jar鍖呯殑緙哄皯浠ュ強jar鍖呯殑鐗堟湰涔熷彲浜х敓璇ラ敊璇?br />
9.鍏朵粬鐨勫師鍥?br />


瑙e喅璇ラ棶棰樼殑閫斿緞錛?br />
鐢變簬涓婇潰闂鍙兘宸茬粡鏄痺eb鏈嶅姟鍣ㄥ唴閮ㄤ駭鐢熶簡閿欒錛岃屼笖IDE涓殑Log淇℃伅杈冨皯錛岄棶棰樼殑瑙e喅寰堥毦鍏ユ墜銆?br />
鑰岃闂鐨勪駭鐢熺粡甯鎬細瀵艱嚧欏甸潰璺寵漿瀵繪壘涓嶅埌鏂囦歡鐨?Http 404 閿欒銆傘傘傘傘?br />
鍙互閫氳繃鍦╰omcat涓坊鍔爈og鏂囦歡鏉ヨlog淇℃伅鎻愮ず鐨勬洿綺劇‘涓浜涳紝鍗寵緗甽og杈撳嚭鐨勭瓑綰с?br />
1.tomcat鐨勫畨瑁呰礬寰勪笅tomcat home涓嬬殑common鏂囦歡澶逛笅鐨刢lasses鏂囦歡澶逛腑鍒涘緩log4j.properties鏂囦歡錛屽嵆

銆傘傘侫pache Software Foundation/Tomcat 5.5/common/classes

log4j.properties閰嶇疆濡備笅錛堥厤緗槸杞澆錛夛細

log4j.rootLogger=info,Console,R

log4j.appender.Console=org.apache.log4j.ConsoleAppender

log4j.appender.Console.layout=org.apache.log4j.PatternLayout

#log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

log4j.appender.Console.layout.ConversionPattern=%d{yy-MM-dd HH:mm:ss} %5p %c{1}:%L - %m%n



log4j.appender.R=org.apache.log4j.DailyRollingFileAppender

log4j.appender.R.File=${catalina.home}/logs/tomcat.log

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%d{yyyy.MM.dd HH:mm:ss} %5p %c{1}(%L):? %m%n



log4j.logger.org.apache=info,R

log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=DEBUG, R

log4j.logger.org.apache.catalina.core=info,R

log4j.logger.org.apache.catalina.session=info,R



2.灝唋og4j-1.2.15.jar鍜宑ommons-logging.jar鍖呮嫹璐濆埌銆傘傘侫pache Software Foundation/Tomcat 5.5/common/lib涓嬪嵆鍙?br />


鍋氬ソ涓婇潰涓ゆ錛屽惎鍔ㄦ湇鍔″櫒鐨勬椂鍊欙紝浼氬湪tomcat鐨勫畨瑁呰礬寰勪笅鐨勩傘侫pache Software Foundation/Tomcat 5.5/logs涓嬭嚜鍔ㄧ殑

鐢熸垚tomcat.log鏂囦歡浠ヨ褰曟棩蹇椾俊鎭?br />
娉細tomcat.log鏂囦歡涓殑鏃ュ織淇℃伅浼氳杞藉緢澶氾紝濡傛灉榪囧ぇ灝卞彲鑳戒駭鐢熺鐩樼┖闂翠笉瓚崇殑闂錛屽緩璁畾鏃剁殑娓呴櫎鏃ュ織淇℃伅銆?br />

閫氳繃涓婇潰鐨勬棩蹇楁枃浠朵俊鎭彲浠ュ畾浣嶅埌姣旇緝鍏蜂綋鐨勯棶棰樻牴婧愶紝鍦ㄤ粩緇嗙殑鏌ョ湅闂涓涓鏀葷牬鍗沖彲瑙e喅銆?br />

鎴戝湪鎼緩妗嗘灦涔嬪悗錛屽湪web.xml鏂囦歡涓厤緗殑嬈㈣繋欏甸潰鏄劇ず鐨勬椂鍊欐姤404鐨勯敊璇紝閫氳繃涓婇潰鐨勯斿緞鎵懼埌浜嗕袱涓敊璇紝铏界劧鑺變簡涓ゅぉ鐨勬椂闂達紝鏈緇堣繕鏄В鍐充簡銆?br />



youngturk 2012-11-08 16:19 鍙戣〃璇勮
]]>
鎶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 鍙戣〃璇勮
]]>
excel鏂囦歡涓嬭澆,鏁版嵁搴撳瓧孌礵atafiled媯绱?-JS URL浼犲肩粰servlet涔辯爜http://www.tkk7.com/youngturk/archive/2012/09/20/388195.htmlyoungturkyoungturkThu, 20 Sep 2012 09:04:00 GMThttp://www.tkk7.com/youngturk/archive/2012/09/20/388195.htmlhttp://www.tkk7.com/youngturk/comments/388195.htmlhttp://www.tkk7.com/youngturk/archive/2012/09/20/388195.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/388195.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/388195.html 

1 //javascript閲岄潰鍔犲瘑涓ゆ錛屼袱嬈℃墠鍙互鐨勩? var url = "servlet/getText?name=" + encodeURI(encodeURI(name));
<script language="javascript" type="text/javascript">
        function show()
        {
         var name="test";
         var admin="ok";
         var url = "http://localhost:7001/sosuo/ggld/fleet?reloadVessel=" 
           + encodeURI(encodeURI(name))+"
&reloadVoyage="+ encodeURI(encodeURI(admin));
            window.open(url);
        }
    
</script>

1 //鍦╦ava閲岄潰錛岄氳繃鎸囧畾鐨勭紪鐮佽В瀵嗗嵆鍙? String name = URLDecoder.decode(request.getParameter("name"),"utf-8");

web.xml閰嶇疆:
<servlet> <!-- 鏂版坊鍔?nbsp;杞﹂槦 download -->        <servlet-name>fleetDataDownload</servlet-name>        <servlet-class>com.cenin.util.FleetDataDownload</servlet-class>    </servlet>
<servlet-mapping>        <servlet-name>fleetDataDownload</servlet-name>        <url-pattern>/ggld/fleet</url-pattern>    </servlet-mapping>

DataDownload.java欏甸潰:

package com.cenin.util;


import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.net.*;
import java.sql.*;

import org.apache.commons.digester.Digester;
import org.apache.log4j.Logger;
import com.cenin.database.DBManager;



public class DataDownload  extends HttpServlet 
{
    private static   Logger logger = Logger.getLogger(DataDownload .class);
    
    public void init(ServletConfig config) throws ServletException 
    {
        super.init(config);
        try
        {
        }
        catch(Exception ex)
        {
            logger.info(ex.getMessage());
        }

    }
    public void doGet(HttpServletRequest request, HttpServletResponse response)  throws ServletException, IOException 
    {
        doPost(request,response);
    }
    public void doDownload(HttpServletRequest request, HttpServletResponse response, String fileName, String vessel, String voyage)
    {
        try
        {
            
            response.reset();
            response.setContentType("application/vnd.ms-excel");
            response.setHeader("Content-Disposition", "inline; filename=\""+ fileName  + "\"");
            ServletOutputStream sos = response.getOutputStream();
            String title = "鏁版嵁瀵煎嚭";


            String[] fieldTitles = {"鑸瑰悕", "鑸", "鎻愬崟鍙?, "綆卞彿", "閾呭皝鍙?, "綆卞瀷", "璐у悕", "閲嶉噺", "浣撶Н", "鍙戣揣浜?, "鏀惰揣浜?, "瑁呰揣娓?, "鍗歌揣娓?};
            String[] fieldNames = {"szVessel", "szVoyage", "szBlNo", "szCtnNo", "szSealNo", "szCtnType", "szCargoName", "fWeight", "fVolume", "szReceiver", "szSender", "szLoadPortCode", "szDischargePortCode"};
            int[] widths = {100, 50, 100, 120, 120, 50, 100, 50, 50, 80, 80, 80, 80};

            Connection conn = DBManager.getInstance().getConnection();
            Statement stmt=conn.createStatement(); 
            String sql = "select * from NmhContainer where szVessel='" + 
                    vessel + "' and szVoyage='" + voyage + "'"; // and szBlNo='" + blno + "'";
            ResultSet rs = stmt.executeQuery(sql);
            OutputUtil.excelOutput(title, fieldTitles, fieldNames, widths, rs, sos, "ISO-8859-1", "GBK");
            
            DBManager.getInstance().freeDBResource(rs, stmt, conn);
            
        }
        catch(Exception ex)
        {
            logger.info(ex.getMessage());
        }
        
    }
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException 
    {
        try
        {
            String vessel = request.getParameter("reloadVessel");
            String voyage = request.getParameter("reloadVoyage");
            //String blno = request.getParameter("reloadBlno");
            String name = vessel + "_" + voyage + "_" + ".xls";
            doDownload(request, response, name, vessel, voyage);
            
        }
        catch(Exception ex)
        {
            logger.info(ex.getMessage());
        }

        
        
    }
}

OutputUtil.java欏甸潰:

package com.cenin.util;
/*
 * 杈撳嚭PDF, Excel絳夋牸寮?br /> * 2005.5.12 by chenyong@cenin
 * 2005.12.19
 */


import jxl.Workbook;
import jxl.write.*;
import com.lowagie.text.Document;
import com.lowagie.text.Rectangle;
import com.lowagie.text.Font;
import com.lowagie.text.PageSize;
import com.lowagie.text.HeaderFooter;
import com.lowagie.text.Phrase;
import com.lowagie.text.Element;
import com.lowagie.text.Table;
import com.lowagie.text.pdf.*;
import java.io.*;
import java.util.*;
import java.sql.*;
import org.apache.log4j.Logger;


public class OutputUtil  
{
    private static Logger logger = Logger.getLogger(OutputUtil.class);
    /*******************************************************
    * pdf杈撳嚭琛ㄦ牸
    * title涓簆df head
    * fieldtitles涓?nbsp;琛ㄥご欏圭洰鍚嶇О鏁扮粍
    * filenames 涓?nbsp; 瀵硅薄灞炴у悕鏁扮粍
    * widths 涓?nbsp;瀹藉害錛呮暟緇?br />    * rs涓簉esultset
    * os 涓鴻緭鍑烘祦
    * codefrom , codeto 濡傛灉闇瑕佺紪鐮佽漿鎹?br />    *******************************************************/    
    public static void excelOutput(String title, String[] fieldtitles, String[] fieldnames, int[] widths, ResultSet rs, OutputStream os, String codefrom, String codeto)
    {
        
        try
        {
            int fieldnumber = fieldnames.length; //, cellnumber = fieldnumber*5;
            if(fieldnumber!=fieldtitles.length||fieldnumber!=fieldnames.length)
                return;

            WritableWorkbook workbook = Workbook.createWorkbook(os);
            WritableSheet sheet = workbook.createSheet(title, 0);
            
            //add field title
            for(int i=0;i
<fieldnumber;i++)
            {
                //String temp 
= new String(fieldtitles[i].getBytes(codefrom), codeto);
                sheet.addCell(new Label(i, 0, fieldtitles[i]));
                
            }
            //add values
            int i
=0;
            
while(rs.next())
            {
                for(int j
=0; j<fieldnames.length; j++)
                {
                    if(rs.getString(fieldnames[j])!
=null)
                    
{
                        //String temp1 
= rs.getString(fieldnames[j]);
                        
String temp = new String(rs.getString(fieldnames[j]).getBytes("ISO-8859-1"), "GBK");
                        sheet.addCell(new Label(j, i+1, temp));
                    }
                    else
                        sheet.addCell(new Label(j, i+1, ""));
                }
                i++;
            }
            //write to excel
            workbook.write();
            workbook.close();
            
        }
        catch(Exception e)
        {
            logger.info(e.toString());
        }
            
    }

}

/*渚嬪瓙
FileOutputStream os 
= new FileOutputStream("e:\\a.xls");
String[] titles 
= {"緋葷粺緙栧彿","鍛樺伐","鐢ㄦ埛甯愬彿"};
String[] fieldnames = {"lsystemUserId","staff.szname","szaccount"};
int[] widths = {20,20,20}; 
//OutputUtil.pdfOutput("my pdf杈撳嚭", titles, fieldnames, widths,objectList,os);
//OutputUtil.excelOutput("excel杈撳嚭", titles, fieldnames, widths,objectList,os);

*/

 



youngturk 2012-09-20 17:04 鍙戣〃璇勮
]]>
flex url http鍚庡彴浼犻掑弬鏁版柟娉?/title><link>http://www.tkk7.com/youngturk/archive/2012/09/12/387544.html</link><dc:creator>youngturk</dc:creator><author>youngturk</author><pubDate>Wed, 12 Sep 2012 06:16:00 GMT</pubDate><guid>http://www.tkk7.com/youngturk/archive/2012/09/12/387544.html</guid><wfw:comment>http://www.tkk7.com/youngturk/comments/387544.html</wfw:comment><comments>http://www.tkk7.com/youngturk/archive/2012/09/12/387544.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/youngturk/comments/commentRss/387544.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/youngturk/services/trackbacks/387544.html</trackback:ping><description><![CDATA[<div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><span style="color: #000000">request=new URLRequest("http://localhost:7002/greatSpringCXFWebservice/FileUploaded");<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />                var variables:URLVariables = new URLVariables();<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />                var userName = Setting.userInfo.userLoginName; <br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />                    variables.filedir = Setting.userInfo.userLoginName;<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />                    request.data=variables;<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />                     request.method=URLRequestMethod.GET;//涓轟簡鍚庡彴java鍒涘緩鐢ㄦ埛鑷繁鐨勫浘鐗囧簱<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />file.upload(req <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000">flex:<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />file=new FileReference();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                file.addEventListener(Event.SELECT,onFileSelect);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                file.addEventListener(IOErrorEvent.IO_ERROR,onFileIOError);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                file.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,onUploadComplete);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />java:<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /> protected void processRequest(HttpServletRequest request,<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            HttpServletResponse response) throws ServletException, IOException {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        System.out.println("to upload picture !");<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        response.setContentType("text/html;charset=UTF-8");<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        PrintWriter out = response.getWriter();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        // 淇濆瓨鏂囦歡鍒版湇鍔″櫒涓?br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        DiskFileItemFactory factory = new DiskFileItemFactory();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        factory.setSizeThreshold(4096);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        ServletFileUpload upload = new ServletFileUpload(factory);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        upload.setSizeMax(maxPostSize);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        String filedir = request.getParameter("filedir");<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        try {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            List fileItems = upload.parseRequest(request);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            Iterator iter = fileItems.iterator();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            while (iter.hasNext()) {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                FileItem item = (FileItem) iter.next();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                if (!item.isFormField()) {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                    String name = item.getName();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />//                    String filedir = item.get();//鑾峰彇鏂囦歡鍚?br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                    System.out.println(name);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                    try {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        File file = new File("D:\\a\\"+filedir);//鍒涘緩鍒嗙駭鐩綍<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        file.mkdir();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        item.write(new File(uploadPath+filedir+"\\" + name));<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        // SaveFile s = new SaveFile();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        // s.saveFile(name); "{\"path\": "[ {"name"}]}" <br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        String path = "[path:{"+name+"}]";<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        out.print(path);//鐢ㄦ潵榪斿洖flex鐨凞ataEvent.UPLOAD_COMPLETE_DATA璇鋒眰<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        <br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        out.close();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                    } catch (Exception e) {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        e.printStackTrace();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        out.print("{\"error\": "+name+"}");<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                        out.close();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                    }<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />                }<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            }<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        } catch (FileUploadException e) {<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            out.print("{\"error\":"+e.getMessage()+"}");<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            out.close();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            e.printStackTrace();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />            System.out.println(e.getMessage() + "緇撴潫");<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />        }<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />    }</span></div>uest);<br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" /><br /><img alt="" align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" />java鎺ユ敹</span></div><img src ="http://www.tkk7.com/youngturk/aggbug/387544.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-09-12 14:16 <a href="http://www.tkk7.com/youngturk/archive/2012/09/12/387544.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Flex 鍩轟簬Http鏂瑰紡涓婁紶鍥劇墖(杞? http://www.tkk7.com/youngturk/archive/2012/09/11/387509.htmlyoungturkyoungturkTue, 11 Sep 2012 14:36:00 GMThttp://www.tkk7.com/youngturk/archive/2012/09/11/387509.htmlhttp://www.tkk7.com/youngturk/comments/387509.htmlhttp://www.tkk7.com/youngturk/archive/2012/09/11/387509.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/387509.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/387509.html棣栧厛涓嬭澆 commons-fileupload-1.2.1.jar鍜宑ommons-io-1.1.jar flex绔唬鐮侊細 <?xml version="1....  闃呰鍏ㄦ枃

youngturk 2012-09-11 22:36 鍙戣〃璇勮
]]>
web.xml涓璼ervlet鎺у埗鍙傛暟鏂規硶http://www.tkk7.com/youngturk/archive/2012/05/22/378841.htmlyoungturkyoungturkTue, 22 May 2012 07:08:00 GMThttp://www.tkk7.com/youngturk/archive/2012/05/22/378841.htmlhttp://www.tkk7.com/youngturk/comments/378841.htmlhttp://www.tkk7.com/youngturk/archive/2012/05/22/378841.html#Feedback0http://www.tkk7.com/youngturk/comments/commentRss/378841.htmlhttp://www.tkk7.com/youngturk/services/trackbacks/378841.htmlweb.xml涓璼ervlet錛?/span>

    <servlet>   <!--鎺ョ潃欏哄簭鍔犺澆servlet琚垵濮嬪寲-->
           
<!-- servlet鑾峰緱鎺у埗鏂囦歡Class鐨勫悕瀛楋紝綾誨悕 -->
        
<servlet-name>smvcCoreDispatcher</servlet-name>
        
<servlet-class>org.bluechant.mvc.core.CoreDispatcherController</servlet-class>
        
<init-param>
            
<param-name>templateLoaderPath</param-name>
            
<param-value>/WEB-INF/view</param-value>
        
</init-param>
        
<init-param>
            
<param-name>defaultEncoding</param-name>
            
<param-value>GBK</param-value>
        
</init-param>
        
<init-param>
            
<param-name>contextConfigLocation</param-name>
            
<param-value>/WEB-INF/smvc_config/smvc-config.xml</param-value>
        
</init-param>
        
<load-on-startup>1</load-on-startup><!-- 鍔犺澆璺緞 -->
    
     
</servlet>
    
<servlet-mapping>
        
<servlet-name>smvcCoreDispatcher</servlet-name>
        
<url-pattern>*.do</url-pattern>
    
</servlet-mapping>
    
    
<welcome-file-list>
        
<welcome-file>login.html</welcome-file>
    
</welcome-file-list>

web.xml瀵瑰簲鐨剆ervlet鎺у埗java鏀瑰啓錛?/span>

package org.bluechant.mvc.core;

import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
import java.util.Enumeration;
import java.util.Locale;
import java.util.Map;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;
import org.bluechant.mvc.controller.ModelAndView;
import org.bluechant.mvc.core.util.ServletUtils;

import freemarker.template.Configuration;
import freemarker.template.ObjectWrapper;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import freemarker.template.TemplateExceptionHandler;

public class CoreDispatcherController extends HttpServlet {
    
    private Logger logger = Logger.getLogger(CoreDispatcherController.class);
    
    private CacheManager cache ;
    
    private String baseControllerClass = "org.bluechant.mvc.controller.Controller";

    private static final long serialVersionUID = 1L;
    
    private Configuration cfg ;
    
    private String templateLoaderPath ;
    
    private String defaultEncoding ;    
    
    private String contentType ;

    private String contextConfigLocation ;
    
    private ActionConfig actionCoinfig ;    
    
    public void init(ServletConfig config) throws ServletException {
        
        super.init(config);
        //super.init(config);

        String absPath = config.getServletContext().getRealPath("/");//鑾峰緱緋葷粺緇濆璺緞
        System.out.println("absPath:"+absPath);
        //getRealPath("/virtual_dir/file2.txt")搴旇榪斿洖"C:\site\a_virtual\file2.txt" 銆銆getRealPath("/file3.txt")搴旇榪斿洖null錛屽洜涓鴻繖涓枃浠朵笉瀛樺湪銆?nbsp;
        ///榪斿洖璺緞D:\Java\workspaces\helios\newshpt\鑾峰緱鏂囦歡璺緞
        defaultEncoding = getInitParameter("defaultEncoding");
        
        templateLoaderPath = getInitParameter("templateLoaderPath");
        //");//浠巜eb.xml涓幏寰梩emplateLoaderPath淇℃伅錛寃eb.xml涓搴旂殑璺緞”/WEB-INF/view“
        
        contextConfigLocation = getInitParameter("contextConfigLocation");
        System.out.println("contextConfigLocation:"+contextConfigLocation);
        ///鑾峰緱web.xml鏂囦歡涓礬寰刉EB-INF/smvc_config/smvc-config.xml
        actionCoinfig = new ActionConfig();
        actionCoinfig.load(absPath+contextConfigLocation);//鏂囨。榪涜瑙f瀽涓庤鍙?
        ///D:\Java\workspaces\helios\newshpt\WEB-INF/smvc_config/smvc-config.xml
        contentType = "text/html;charset="+defaultEncoding ;
        
        //鍒涘緩Configuration瀹炰緥錛孋onfiguration鏄叆鍙o紝閫氳繃瀹冩潵鑾峰緱閰嶇疆鏂囦歡
        cfg = new Configuration();
        //璁劇疆妯℃澘璺緞錛?nbsp;getServletContext(),鎵鏈夋槸鎵鏈夎礬寰勯兘鑳芥嬁鍒扮殑..
        cfg.setServletContextForTemplateLoading(getServletContext(), templateLoaderPath);
        //cfg.setServletContextForTemplateLoading(arg0, arg1)
        //璁劇疆緙栫爜鏍煎紡
        cfg.setEncoding(Locale.getDefault(), defaultEncoding);
        
        //init cache manager
        cache = CacheManager.getInstance();
    }
    
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        processRequest(request,response);
    }
    
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {    
        processRequest(request,response);
        
    }
    
    private void showRequestParams(HttpServletRequest request){
        Enumeration en = request.getParameterNames();
        while (en.hasMoreElements()) {
            String paramName = (String) en.nextElement();
            String[] paramValues = request.getParameterValues(paramName);
            if (paramValues.length == 1) {
                String paramValue = paramValues[0];
                if (paramValue.length() != 0) {
                    //map.put(paramName, paramValue);
                    //System.out.println(paramName+"\t"+paramValue);
                }
            }else if(paramValues.length >1 ){//checkbox
                //map.put(paramName, paramValues);
                //System.out.println(paramName+"\t"+paramValues);
            }
        }
    }
    
    public void processRequest(HttpServletRequest request, HttpServletResponse response){
        
        try {
            request.setCharacterEncoding(defaultEncoding);
            showRequestParams(request);//waiting back to resolve
        } catch (UnsupportedEncodingException e1) {
            // TODO Auto-generated catch block
            e1.printStackTrace();
        } // set request encoding
        
        ModelAndView mv = analyzeRequest(request);        
        try {
            invokeActionHandler(mv,request);
            if(mv.getViewPath().endsWith(".ftl")){
                invokeViewResolverHandler(mv , response , request);
            }else{
                response.sendRedirect(mv.getWebroot()+mv.getViewPath());
            }    
        } catch (Exception e) {
            e.printStackTrace();
        }    
    }
    
    public ModelAndView analyzeRequest(HttpServletRequest request){        
        ModelAndView modelAndView = new ModelAndView();            
        logger.debug("request url path is : "+request.getRequestURI());
        String requestPath = request.getRequestURI(); // /newshpt/account!login.do
        String webroot = request.getContextPath() ; // /newshpt
        System.out.println("request url path is : "+requestPath);
        System.out.println("request webroot path is : "+webroot);
        modelAndView.setWebroot(webroot);
        String actionFullName = requestPath.substring(webroot.length()); // /account!login.do
        System.out.println("actionFullName : "+actionFullName);
        String[] temp = actionFullName.split("!");
        String method = "execute";
        if(temp.length==2){
             method = temp[1].split("\\.")[0];
        }
        System.out.println("method : "+method);
        String actionName = temp[0]; // /demo
        System.out.println("actionName : "+actionName);
        String className = actionCoinfig.getClassName(actionName);
        System.out.println("className :"+className);
        modelAndView.setClassName(className);
        modelAndView.setMethodName(method);
        modelAndView.setAction(actionName);
        
        return modelAndView ;
    }
    
    /**
     * invoke the request controller's target method 
     * param ModelAndView will be mofified during the process
     * @param mv
     * @param request
     * @throws Exception 
     */
    public void invokeActionHandler(ModelAndView mv , HttpServletRequest request) throws Exception{
        String className = mv.getClassName();
        String methodName = mv.getMethodName();
        //load class
        Class controllerClass = cache.loadClass(className);
        Class parentControllerClass = cache.loadClass(baseControllerClass);
        //load method
        Method setRequest = cache.loadMethod(parentControllerClass, "setRequest", new Class[] { HttpServletRequest.class });    
        Method setModelAndView = cache.loadMethod(parentControllerClass, "setModelAndView", new Class[] { ModelAndView.class });//org.bluechant.mvc.controller.Controller-setModelAndView@6024418  public void org.bluechant.mvc.controller.Controller.setModelAndView(org.bluechant.mvc.controller.ModelAndView)
        Method targetMethod = cache.loadMethod(controllerClass, methodName, new Class[]{});
        //buiid controller instance and invoke target method
        Object instance = controllerClass.newInstance();
        setRequest.invoke(instance, new Object[] { request });//瀵瑰甫鏈夋寚瀹氬弬鏁扮殑鎸囧畾瀵硅薄璋冪敤鐢辨 Method 瀵硅薄琛ㄧず鐨勫熀紜鏂規硶    
        setModelAndView.invoke(instance, new Object[] { mv });
        targetMethod.invoke(instance, new Object[]{});        
    }
    
    /**
     * send data to view model , and generate the view page by FreeMarker
     */
    public void invokeViewResolverHandler(ModelAndView modelAndView , HttpServletResponse response ,HttpServletRequest request){    
        //convert session attributes to sessionModel , and push to modelAndView
        Map sessionModel = ServletUtils.sessionAttributesToMap(request.getSession());// userSources=[/admin, /button/custom, /custom, /delivery, /loadShip, /unloadPickUp, /unloadShip]
        modelAndView.put("Session", sessionModel);
        response.setContentType(contentType); 
        try {//鍒濆鍖朏reeMarker
            PrintWriter out = response.getWriter();
            Template template = cfg.getTemplate(modelAndView.getViewPath());//鍙栧緱鐢熸垚妯$増鏂囦歡
            template.setTemplateExceptionHandler(TemplateExceptionHandler.DEBUG_HANDLER);//setTemplateExceptionHandler
            //set the object wrapper , beanwrapper is the perfect useful objectWrapper instance
            template.setObjectWrapper(ObjectWrapper.BEANS_WRAPPER);// 璁劇疆瀵硅薄鍖呰鍣?br />            template.process(modelAndView, out);//妯$増鐜寮濮嬭澆鍏?.
            out.flush();
        } catch (IOException e) {
            e.printStackTrace();
        } catch (TemplateException e) {
            e.printStackTrace();
        }
    }
    
}


smvc-config.xml鏂囦歡:

<?xml version="1.0" encoding="UTF-8"?>
<smvc-config>    
    
<action name="/account" class="com.cenin.tjport.shpt.mvc.controller.AccountController"/>
    
<action name="/yard" class="com.cenin.tjport.shpt.mvc.controller.DuiCunController"/>
</smvc-config>



 



youngturk 2012-05-22 15:08 鍙戣〃璇勮
]]>
getServletContext(),鑾峰緱servlet涓婁笅鏂?/title><link>http://www.tkk7.com/youngturk/archive/2012/05/22/378812.html</link><dc:creator>youngturk</dc:creator><author>youngturk</author><pubDate>Tue, 22 May 2012 03:21:00 GMT</pubDate><guid>http://www.tkk7.com/youngturk/archive/2012/05/22/378812.html</guid><wfw:comment>http://www.tkk7.com/youngturk/comments/378812.html</wfw:comment><comments>http://www.tkk7.com/youngturk/archive/2012/05/22/378812.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/youngturk/comments/commentRss/378812.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/youngturk/services/trackbacks/378812.html</trackback:ping><description><![CDATA[<div class="eaeqask" id="sina_keyword_ad_area2" class="articalContent "> <p style="text-align: left; padding-bottom: 0pt; line-height: 160%; margin-top: 0pt; text-indent: 21pt; padding-left: 0pt; padding-right: 0pt; margin-bottom: 7.5pt; padding-top: 0pt"><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; font-weight: bold; mso-spacerun: 'yes'">javax.servlet.ServletContext<font face="瀹嬩綋">鎺ュ彛</font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">涓涓?font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囨槸</font><font face="Arial">servlet</font><font face="瀹嬩綋">寮曟搸鎻愪緵鐢ㄦ潵鏈嶅姟浜?/font><font face="Arial">Web</font><font face="瀹嬩綋">搴旂敤鐨勬帴鍙c?/font><font face="Arial">Servlet</font><font face="瀹嬩綋">涓婁笅鏂囧叿鏈夊悕瀛楋紙瀹冨睘浜?/font><font face="Arial">Web</font><font face="瀹嬩綋">搴旂敤鐨勫悕瀛楋級鍞竴鏄犲皠鍒版枃浠剁郴緇熺殑涓涓洰褰曘?/font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">涓涓?font face="Arial">servlet</font><font face="瀹嬩綋">鍙互閫氳繃</font><font face="Arial">ServletConfig</font><font face="瀹嬩綋">瀵硅薄鐨?/font><font face="Arial">getServletContext()</font><font face="瀹嬩綋">鏂規硶寰楀埌</font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囩殑寮曠敤錛屽鏋?/font><font face="Arial">servlet</font><font face="瀹嬩綋">鐩存帴鎴栭棿鎺ヨ皟鐢ㄥ瓙綾?/font><font face="Arial">GenericServlet</font><font face="瀹嬩綋">錛屽垯鍙互浣跨敤</font><font face="Arial">getServletContext()</font><font face="瀹嬩綋">鏂規硶銆?/font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">Web<font face="瀹嬩綋">搴旂敤涓?/font><font face="Arial">servlet</font><font face="瀹嬩綋">鍙互浣跨敤</font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囧緱鍒幫細</font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">1.<font face="瀹嬩綋">鍦ㄨ皟鐢ㄦ湡闂翠繚瀛樺拰媯绱㈠睘鎬х殑鍔熻兘錛屽茍涓庡叾浠?/font><font face="Arial">servlet</font><font face="瀹嬩綋">鍏變韓榪欎簺灞炴с?/font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">2.<font face="瀹嬩綋">璇誨彇</font><font face="Arial">Web</font><font face="瀹嬩綋">搴旂敤涓枃浠跺唴瀹瑰拰鍏朵粬闈欐佽祫婧愮殑鍔熻兘銆?/font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">3.<font face="瀹嬩綋">浜掔浉鍙戦佽姹傜殑鏂瑰紡銆?/font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">4.<font face="瀹嬩綋">璁板綍閿欒鍜屼俊鎭寲娑堟伅鐨勫姛鑳姐?/font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"> <wbr></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">ServletContext<font face="瀹嬩綋">鎺ュ彛涓殑鏂規硶 <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">Object <wbr>getAttribute(String <wbr>name) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖</font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囦腑鍏鋒湁鎸囧畾鍚嶅瓧鐨勫璞★紝鎴栦嬌鐢ㄥ凡鎸囧畾鍚嶆崋緇戜竴涓璞°備粠</font><font face="Arial">Web</font><font face="瀹嬩綋">搴旂敤鐨勬爣鍑嗚鐐圭湅錛岃繖鏍風殑瀵硅薄鏄叏灞瀵硅薄錛屽洜涓哄畠浠彲浠ヨ鍚屼竴</font><font face="Arial">servlet</font><font face="瀹嬩綋">鍦ㄥ彟涓鏃跺埢璁塊棶銆傛垨涓婁笅鏂囦腑浠繪剰鍏朵粬</font><font face="Arial">servlet</font><font face="瀹嬩綋">璁塊棶銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">void <wbr>setAttribute(String <wbr>name,Object <wbr>obj) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">璁劇疆</font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囦腑鍏鋒湁鎸囧畾鍚嶅瓧鐨勫璞°?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">Enumeration <wbr>getAttributeNames() <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖淇濆瓨鍦?/font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囦腑鎵鏈夊睘鎬у悕瀛楃殑鏋氫婦銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">ServletContext <wbr>getContext(String <wbr>uripath) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖鏄犲皠鍒板彟涓</font><font face="Arial">URL</font><font face="瀹嬩綋">鐨?/font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囥傚湪鍚屼竴鏈嶅姟鍣ㄤ腑</font><font face="Arial">URL</font><font face="瀹嬩綋">蹇呴』鏄互</font><font face="Times New Roman">“</font><font face="Arial">/</font><font face="Times New Roman">”</font><font face="瀹嬩綋">寮澶寸殑緇濆璺緞銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">String <wbr>getInitParameter(String <wbr>name) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖鎸囧畾涓婁笅鏂囪寖鍥寸殑鍒濆鍖栧弬鏁板箋傛鏂規硶涓?/font><font face="Arial">ServletConfig</font><font face="瀹嬩綋">鏂規硶鍚嶇О涓嶄竴鏍鳳紝鍚庤呭彧搴旂敤浜庡凡緙栫爜鐨勬寚瀹?/font><font face="Arial">servlet</font><font face="瀹嬩綋">銆傛鏂規硶搴旂敤浜庝笂涓嬫枃涓墍鏈夌殑鍙傛暟銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">Enumeration <wbr>getInitParameterNames() <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖錛堝彲鑳戒負絀猴級鎸囧畾涓婁笅鏂囪寖鍥寸殑鍒濆鍖栧弬鏁板煎悕瀛楃殑鏋氫婦鍊箋?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">int <wbr>getMajorVersion() <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖姝や笂涓嬫枃涓敮鎸?/font><font face="Arial">servlet <wbr>API</font><font face="瀹嬩綋">綰у埆鐨勬渶澶у拰鏈灝忕増鏈彿銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">int <wbr>getMinorVersion() <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">String <wbr>getMimeType(String <wbr>fileName) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖鎸囧畾鏂囦歡鍚嶇殑</font><font face="Arial">MIME</font><font face="瀹嬩綋">綾誨瀷銆傚吀鍨嬫儏鍐墊槸鍩轟簬鏂囦歡鎵╁睍鍚嶏紝鑰屼笉鏄枃浠舵湰韜殑鍐呭錛堝畠鍙互涓嶅繀瀛樺湪錛夈傚鏋?/font><font face="Arial">MIME</font><font face="瀹嬩綋">綾誨瀷鏈煡錛屽彲浠ヨ繑鍥?/font><font face="Arial">null</font><font face="瀹嬩綋">銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">RequestDispatcher <wbr>getNameDispatcher(String <wbr>name) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖鍏鋒湁鎸囧畾鍚嶅瓧鎴栬礬寰勭殑</font><font face="Arial">servlet</font><font face="瀹嬩綋">鎴?/font><font face="Arial">JSP</font><font face="瀹嬩綋">鐨?/font><font face="Arial">RequestDispatcher</font><font face="瀹嬩綋">銆傚鏋滀笉鑳藉垱寤?/font><font face="Arial">RequestDispatch</font><font face="瀹嬩綋">錛岃繑鍥?/font><font face="Arial">null</font><font face="瀹嬩綋">銆傚鏋滄寚瀹氳礬寰勶紝蹇呴』蹇?/font><font face="Times New Roman">“</font><font face="Arial">/</font><font face="Times New Roman">”</font><font face="瀹嬩綋">寮澶達紝騫朵笖鏄浉瀵逛簬</font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囩殑欏墮儴銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">RequestDispatcher <wbr>getNameDispatcher(String <wbr>path) <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">String <wbr>getRealPath(String <wbr>path) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">緇欏畾涓涓?/font><font face="Arial">URI</font><font face="瀹嬩綋">錛岃繑鍥炴枃浠剁郴緇熶腑</font><font face="Arial">URI</font><font face="瀹嬩綋">瀵瑰簲鐨勭粷瀵硅礬寰勩傚鏋滀笉鑳借繘琛屾槧灝勶紝榪斿洖</font><font face="Arial">null</font><font face="瀹嬩綋">銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">URL <wbr>getResource(String <wbr>path) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪斿洖鐩稿浜?/font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囨垨璇誨彇</font><font face="Arial">URL</font><font face="瀹嬩綋">鐨勮緭鍏ユ祦鐨勬寚瀹氱粷瀵硅礬寰勭浉瀵瑰簲鐨?/font><font face="Arial">URL</font><font face="瀹嬩綋">錛屽鏋滆祫婧愪笉瀛樺湪鍒欒繑鍥?/font><font face="Arial">null</font><font face="瀹嬩綋">銆?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">InputStream <wbr>getResourceAsStream(String <wbr>path) <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">String <wbr>getServerInfo() <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">榪旈『</font><font face="Arial">servlet</font><font face="瀹嬩綋">寮曟搸鐨勫悕縐板拰鐗堟湰鍙楓?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">void <wbr>log(String <wbr>message)</span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">void <wbr>log(String <wbr>message,Throwable <wbr>t) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">灝嗕竴涓秷鎭啓鍏?/font><font face="Arial">servlet</font><font face="瀹嬩綋">娉ㄥ唽錛屽鏋滅粰鍑?/font><font face="Arial">Throwable</font><font face="瀹嬩綋">鍙傛暟錛屽垯鍖呭惈鏍堣建榪廣?nbsp;<wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"><br /></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">void <wbr>removeAttribute(String <wbr>name) <wbr> <wbr> <wbr> <wbr><font face="瀹嬩綋">浠?/font><font face="Arial">servlet</font><font face="瀹嬩綋">涓婁笅鏂囦腑鍒犻櫎鎸囧畾灞炴с?nbsp;<wbr></font></span><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"> </span></p> <p style="text-align: left; padding-bottom: 0pt; line-height: 160%; margin-top: 0pt; text-indent: 21pt; padding-left: 0pt; padding-right: 0pt; margin-bottom: 7.5pt; padding-top: 0pt"><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'"> <wbr></span></p> <p style="text-align: left; padding-bottom: 0pt; line-height: 160%; margin-top: 0pt; text-indent: 21pt; padding-left: 0pt; padding-right: 0pt; margin-bottom: 7.5pt; padding-top: 0pt"><span><a ><span style="font-family: 'Arial'; color: rgb(0,0,255); font-size: 10.5pt; mso-spacerun: 'yes'">getServletContext()<font face="瀹嬩綋">鍜?/font><font face="Arial">getServletConfig()</font><font face="瀹嬩綋">鐨勬剰鎬?/font></span></a></span></p> <p style="text-align: left; padding-bottom: 0pt; line-height: 160%; margin-top: 0pt; text-indent: 21pt; padding-left: 0pt; padding-right: 0pt; margin-bottom: 7.5pt; padding-top: 0pt"><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">getServletConfig() <wbr><font face="瀹嬩綋">鍦?/font><font face="Arial">servlet</font><font face="瀹嬩綋">鍒濆鍖栨椂錛屽鍣ㄤ紶閫掕繘鏉ヤ竴涓?/font><font face="Arial">ServletConfig</font><font face="瀹嬩綋">瀵硅薄騫朵繚瀛樺湪</font><font face="Arial">servlet</font><font face="瀹嬩綋">瀹炰緥涓紝璇ュ璞″厑璁歌闂袱欏瑰唴瀹癸細鍒濆鍖栧弬鏁板拰</font><font face="Arial">ServletContext</font><font face="瀹嬩綋">瀵硅薄錛屽墠鑰呴氬父鐢卞鍣ㄥ湪鏂囦歡涓寚瀹氾紝鍏佽鍦ㄨ繍琛屾椂鍚?/font><font face="Arial">sevrlet</font><font face="瀹嬩綋">浼犻掓湁鍏寵皟搴︿俊鎭紝姣斿璇?/font><font face="Arial">getServletConfig().getInitParameter("debug")</font><font face="瀹嬩綋">鍚庤呬負</font><font face="Arial">servlet</font><font face="瀹嬩綋">鎻愪緵鏈夊叧瀹瑰櫒鐨勪俊鎭?/font></span></p> <p style="text-align: left; padding-bottom: 0pt; line-height: 160%; margin-top: 0pt; text-indent: 21pt; padding-left: 0pt; padding-right: 0pt; margin-bottom: 7.5pt; padding-top: 0pt"><span><a ><span style="font-family: 'Arial'; color: rgb(77,48,2); font-size: 10.5pt; mso-spacerun: 'yes'">getServletContext()<font face="瀹嬩綋">鍜?/font><font face="Arial">getServletConfig()</font><font face="瀹嬩綋">鐨勬剰鎬?/font></span></a></span></p> <p style="text-align: left; padding-bottom: 0pt; line-height: 160%; margin-top: 0pt; text-indent: 21pt; padding-left: 0pt; padding-right: 0pt; margin-bottom: 7.5pt; padding-top: 0pt"><span style="font-family: 'Arial'; color: rgb(0,0,0); font-size: 10.5pt; mso-spacerun: 'yes'">getServletContext()<font face="瀹嬩綋">鍜?/font><font face="Arial">getServletConfig()</font><font face="瀹嬩綋">鐨勬剰鎬?/font><font face="Arial">2007-07-09 <wbr>11:10.getServletContext() <wbr></font><font face="瀹嬩綋">涓涓?/font><font face="Arial">servlet</font><font face="瀹嬩綋">鍙互浣跨敤</font><font face="Arial">getServletContext</font><font face="瀹嬩綋">錛堬級鏂規硶寰楀埌</font><font face="Arial">web</font><font face="瀹嬩綋">搴旂敤鐨?/font><font face="Arial">servletContext <wbr></font><font face="瀹嬩綋">鍗寵屼嬌鐢?/font><font face="Arial">getServletContext</font><font face="瀹嬩綋">鐨勪竴浜涙柟娉曟潵鑾峰緱涓浜涘?nbsp;<wbr>姣斿璇?/font><font face="Arial">getServletContext().getRealPath("/")</font><font face="瀹嬩綋">鏉ヨ幏寰楃郴緇熺粷瀵硅礬寰?nbsp;<wbr></font><font face="Arial">getServletContext().getResource("WEB-INF/config.xml")</font><font face="瀹嬩綋">鏉ヨ幏寰?/font><font face="Arial">xml</font><font face="瀹嬩綋">鏂囦歡鐨勫唴瀹廣?/font></span></p></div><img src ="http://www.tkk7.com/youngturk/aggbug/378812.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-05-22 11:21 <a href="http://www.tkk7.com/youngturk/archive/2012/05/22/378812.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://66qiqi.com" target="_blank">亚洲天然素人无码专区</a>| <a href="http://246210.com" target="_blank">国产成A人亚洲精V品无码</a>| <a href="http://lwjiheng.com" target="_blank">我要看WWW免费看插插视频</a>| <a href="http://yanhx.com" target="_blank">2019中文字幕免费电影在线播放</a>| <a href="http://xiaojiejieav.com" target="_blank">久久久久国产精品免费免费不卡</a>| <a href="http://mt181.com" target="_blank">国产免费无码一区二区</a>| <a href="http://wwwkk5679.com" target="_blank">中文字幕免费在线看线人动作大片 </a>| <a href="http://udlmw.com" target="_blank">国产在线观看免费观看不卡</a>| <a href="http://sxgzjssb.com" target="_blank">2019中文字幕免费电影在线播放</a>| <a href="http://tc116.com" target="_blank">毛片免费全部播放无码</a>| <a href="http://79909d.com" target="_blank">jjizz全部免费看片</a>| <a href="http://www961dd.com" target="_blank">亚洲性线免费观看视频成熟 </a>| <a href="http://426366.com" target="_blank">国产精品福利片免费看</a>| <a href="http://kypbuy.com" target="_blank">精品久久久久久无码免费</a>| <a href="http://bjowj.com" target="_blank">一区二区视频免费观看</a>| <a href="http://513net.com" target="_blank">国产99久久久国产精免费</a>| <a href="http://xsjxp.com" target="_blank">在线免费观看h片</a>| <a href="http://222xx8.com" target="_blank">日本中文字幕免费高清视频</a>| <a href="http://szqsnt.com" target="_blank">最好看的中文字幕2019免费</a>| <a href="http://cc45987.com" target="_blank">无码人妻精品中文字幕免费东京热</a>| <a href="http://www-65jjj.com" target="_blank">国产精品成人观看视频免费 </a>| <a href="http://seosuanfa.com" target="_blank">国产精品免费久久久久久久久</a>| <a href="http://gzbaida.com" target="_blank">fc2免费人成在线</a>| <a href="http://ssdtsz.com" target="_blank">在线成人精品国产区免费</a>| <a href="http://xixidhw.com" target="_blank">久久aa毛片免费播放嗯啊</a>| <a href="http://www-36664.com" target="_blank">1000部夫妻午夜免费</a>| <a href="http://mllm999.com" target="_blank">毛色毛片免费观看</a>| <a href="http://ganbadei.com" target="_blank">免费中文字幕不卡视频</a>| <a href="http://hbtelong.com" target="_blank">一本色道久久综合亚洲精品高清</a>| <a href="http://www-091w.com" target="_blank">国产成A人亚洲精V品无码</a>| <a href="http://saohu533.com" target="_blank">亚洲视频免费在线看</a>| <a href="http://jomujy.com" target="_blank">亚洲日本成本人观看</a>| <a href="http://tjbdyx.com" target="_blank">青青草国产免费国产是公开</a>| <a href="http://173ba.com" target="_blank">西西人体免费视频</a>| <a href="http://6609929.com" target="_blank">最近中文字幕免费2019</a>| <a href="http://240842.com" target="_blank">黄a大片av永久免费</a>| <a href="http://hwjyrck.com" target="_blank">区三区激情福利综合中文字幕在线一区亚洲视频1 </a>| <a href="http://saozib.com" target="_blank">色偷偷亚洲男人天堂</a>| <a href="http://7t53.com" target="_blank">精品久久久久久无码免费 </a>| <a href="http://sitefmns.com" target="_blank">亚洲av成本人无码网站</a>| <a href="http://91tapp.com" target="_blank">www免费黄色网</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>