锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲av成人一区二区三区在线播放,国产亚洲精品资在线,国产成人亚洲综合色影视http://www.tkk7.com/linlinyu/category/27563.htmllinlinyuzh-cnWed, 21 May 2008 15:58:32 GMTWed, 21 May 2008 15:58:32 GMT60jboss sslhttp://www.tkk7.com/linlinyu/articles/201958.htmllinlin yulinlin yuWed, 21 May 2008 08:45:00 GMThttp://www.tkk7.com/linlinyu/articles/201958.htmlhttp://www.tkk7.com/linlinyu/comments/201958.htmlhttp://www.tkk7.com/linlinyu/articles/201958.html#Feedback0http://www.tkk7.com/linlinyu/comments/commentRss/201958.htmlhttp://www.tkk7.com/linlinyu/services/trackbacks/201958.htmlcd ${jboss.server.home.dir}/conf

keytool -genkey -dname "CN=localhost, OU=localhost, O=localhost,L=localhost, S=State, C=Country Code" -alias "LC Cert" -keypass 123456 -keystore keystorename.keystore

keytool -export -alias "LC Cert" -file LC_cert.cer -keystore keystorename.keystore

keytool -import -file LC_cert.cer -keystore C:\java\jdk1.6.0_04\jre\lib\security\cacerts

keytool -printcert -v -file D:\Adobe\LiveCycle8\jboss\server\all\conf\LC_cert.cer

keytool -delete -alias "LC Cert" -keystore keystorename.keystore

keytool -delete -alias mykey -keystore C:\java\jdk1.6.0_04\jre\lib\security\cacerts


<Connector port="8443" address="${jboss.bind.address}"
    maxThreads="100" minSpareThreads="5" maxSpareThreads="15"
    scheme="https" secure="true" clientAuth="false"
    keystoreFile="${jboss.server.home.dir}/conf/keystorename.keystore"
    keystorePass="123456" sslProtocol = "TLS" URIEncoding="UTF-8"/>



linlin yu 2008-05-21 16:45 鍙戣〃璇勮
]]>
struts2 杈撳嚭xml鏍煎紡鍐呭http://www.tkk7.com/linlinyu/articles/169169.htmllinlin yulinlin yuThu, 20 Dec 2007 15:04:00 GMThttp://www.tkk7.com/linlinyu/articles/169169.htmlhttp://www.tkk7.com/linlinyu/comments/169169.htmlhttp://www.tkk7.com/linlinyu/articles/169169.html#Feedback0http://www.tkk7.com/linlinyu/comments/commentRss/169169.htmlhttp://www.tkk7.com/linlinyu/services/trackbacks/169169.html
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
        "http://struts.apache.org/dtds/struts-2.0.dtd"
>
<struts>
    
<package name="example" namespace="/example"
        extends
="struts-default">
        
<action name="outputXml"  method="outxml" class="example.OutputXml">
            
<result name="xmlMessage" type="plaintext"></result>
        
</action>
    
</package>
</struts>

2,java浠g爜
package example;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class OutputXml extends ActionSupport {
    
public void outxml() throws Exception {
        HttpServletResponse response 
= ServletActionContext.getResponse();
        response.setContentType(
"text/xml ");
        PrintWriter pw 
= response.getWriter();
        pw.print(
"<cc>cccccc</cc>");
    }

}


linlin yu 2007-12-20 23:04 鍙戣〃璇勮
]]>
Property 鏂囦歡璇誨彇http://www.tkk7.com/linlinyu/articles/162947.htmllinlin yulinlin yuSun, 25 Nov 2007 02:56:00 GMThttp://www.tkk7.com/linlinyu/articles/162947.htmlhttp://www.tkk7.com/linlinyu/comments/162947.htmlhttp://www.tkk7.com/linlinyu/articles/162947.html#Feedback0http://www.tkk7.com/linlinyu/comments/commentRss/162947.htmlhttp://www.tkk7.com/linlinyu/services/trackbacks/162947.html
閫氱敤java 灞炴ф枃浠惰鍙?灝唜xx.properties鏀懼湪classpath涓氨鍙互榪愯浜?/p>
package com.soyoung.xxx.config;

import java.io.InputStream;
import java.util.Properties;

public class XXXConfig {
    
private static String default_config = "/xxx.properties";

    
private static Properties mConfig;
    
static {
        mConfig 
= new Properties();

        
try {

            Class config_class 
= Class.forName(XXXConfig.class.getName());

            InputStream is 
= config_class.getResourceAsStream(default_config);
            mConfig.load(is);

        }
 catch (Exception e) {
            e.printStackTrace();
        }

    }


    
private void XXXConfig() {
    }


    
public static String getProperty(String key) {
        
return mConfig.getProperty(key);
    }


    
public static String getProperty(String key, String defaultValue) {
        String value 
= mConfig.getProperty(key);
        
if (value == null)
            
return defaultValue;

        
return value;
    }


    
public static boolean getBooleanProperty(String name, boolean defaultValue) {
        String value 
= XXXConfig.getProperty(name);

        
if (value == null)
            
return defaultValue;

        
return (new Boolean(value)).booleanValue();
    }


    
public static int getIntProperty(String name) {
        
return getIntProperty(name, 0);
    }


    
public static int getIntProperty(String name, int defaultValue) {
        String value 
= XXXConfig.getProperty(name);

        
if (value == null)
            
return defaultValue;

        
return (new Integer(value)).intValue();
    }


    
public static void main(String args[]) {
        
// mConfig.setProperty("name", "jianglinyu");
        System.out.println(XXXConfig.getProperty("name"));
    }

}



 



linlin yu 2007-11-25 10:56 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 337p日本欧洲亚洲大胆色噜噜| 国产乱色精品成人免费视频| 国产亚洲综合色就色| 中国在线观看免费的www| 青青草国产免费久久久91| 亚洲videos| 成人影片麻豆国产影片免费观看| 亚洲男人天堂影院| 57pao国产成永久免费视频| 内射干少妇亚洲69XXX| 永久黄色免费网站| 亚洲va精品中文字幕| 四虎影视大全免费入口| 色窝窝亚洲av网| 亚洲人成网站色在线入口| a在线视频免费观看在线视频三区| 国产亚洲精品不卡在线| 永久免费av无码入口国语片| 亚洲成年人在线观看| 在线看片韩国免费人成视频| 亚洲色大情网站www| 亚洲人成无码网WWW| a在线观看免费视频| 亚洲人成网站在线观看播放青青| 无码日韩人妻av一区免费| 精品国产亚洲一区二区三区在线观看 | 在线观看国产情趣免费视频| 亚洲AV无码专区在线观看成人| 国产免费直播在线观看视频| 久久国产乱子伦精品免费午夜| 久久久久久国产精品免费免费| 亚洲日韩AV一区二区三区中文| 免费播放特黄特色毛片| a毛看片免费观看视频| 亚洲一区免费视频| 亚洲精品国产高清嫩草影院| 日本免费一区二区三区| 亚洲AV无码成人网站在线观看| 亚洲码国产精品高潮在线| 日韩免费一区二区三区在线播放| 国产亚洲情侣久久精品|