锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲综合免费视频,亚洲av无码一区二区三区在线播放 ,国产精品亚洲va在线观看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 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲精品视频在线免费| 亚洲国产精品无码久久久秋霞1| 久久亚洲精品无码av| 久久国产精品免费网站| va亚洲va日韩不卡在线观看| 中文字幕亚洲综合精品一区| 一道本不卡免费视频| 天天拍拍天天爽免费视频| 亚洲精品国产成人专区| jizz在线免费观看| 麻豆成人精品国产免费| 亚洲精品电影天堂网| 成在人线av无码免费高潮水| 国产青草视频在线观看免费影院| 亚洲国产精品综合福利专区| a级成人毛片免费图片| 亚洲成年人啊啊aa在线观看| 亚洲国产综合精品中文第一| 色猫咪免费人成网站在线观看| 精品国产香蕉伊思人在线在线亚洲一区二区 | 免费一级毛片女人图片| 亚洲Av无码一区二区二三区| 久久精品乱子伦免费| 精品亚洲视频在线观看| 国产成人综合亚洲| 午夜网站免费版在线观看| 亚洲乱码中文字幕小综合| 99re免费在线视频| 久久亚洲伊人中字综合精品| a级毛片免费观看在线| 免费人成网站7777视频| 蜜桃传媒一区二区亚洲AV| 国内免费高清在线观看| 亚洲国产精品午夜电影| 无码国产精品一区二区免费vr| 亚洲日产无码中文字幕| 中文在线观看免费网站| 国产亚洲精品自在线观看| 乱人伦中文视频在线观看免费| 四虎影在线永久免费四虎地址8848aa | 亚洲αⅴ无码乱码在线观看性色|