锘??xml version="1.0" encoding="utf-8" standalone="yes"?>在线观看一区二区视频,欧美日韩国产中文,自拍偷拍亚洲综合http://www.aygfsteel.com/llrafale/zh-cnFri, 20 Jun 2025 00:44:00 GMTFri, 20 Jun 2025 00:44:00 GMT60- resin+xml鍜宼omcat+xml閰嶇疆http://www.aygfsteel.com/llrafale/archive/2007/07/26/132450.htmlllrafalellrafaleThu, 26 Jul 2007 02:06:00 GMThttp://www.aygfsteel.com/llrafale/archive/2007/07/26/132450.htmlhttp://www.aygfsteel.com/llrafale/comments/132450.htmlhttp://www.aygfsteel.com/llrafale/archive/2007/07/26/132450.html#Feedback0http://www.aygfsteel.com/llrafale/comments/commentRss/132450.htmlhttp://www.aygfsteel.com/llrafale/services/trackbacks/132450.htmlreisn+xml
conf\resin.conf
timesten鏁版嵁搴?
1 <database>
2 <jndi-name>qipai</jndi-name>
3 <driver type="com.timesten.jdbc.TimesTenClientDriver">
4 <url>jdbc:timesten:client:qipai</url>
5 <user></user>
6 <password></password>
7 </driver>
8 <max-active-time>100</max-active-time>
9 <max-idle-time>30s</max-idle-time>
10 <transaction-timeout>1000</transaction-timeout>
11 <max-connections>100</max-connections>
12 </database>
oracle鏁版嵁搴?
1 <database>
2 <jndi-name>qipainw</jndi-name>
3 <driver type="oracle.jdbc.driver.OracleDriver">
4 <url>jdbc:oracle:thin:@192.168.*.*:6688:tang</url>
5 <user>game_qipai</user>
6 <password>qipai</password>
7 </driver>
8 <max-active-time>100</max-active-time>
9 <max-idle-time>30s</max-idle-time>
10 <transaction-timeout>1000</transaction-timeout>
11 <max-connections>100</max-connections>
12 </database>
1 <web-app id="/YourwebName" document-directory="D:\YourwebName">
2 <system-property javax.xml.transform.TransformerFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
3 <system-property javax.xml.parsers.DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
4 <system-property javax.xml.parsers.SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
5 <system-property org.xml.sax.driver="org.apache.xerces.parsers.SAXParser"/>
6 </web-app>
applicationContext-resources.xml
1 <bean id="qipainwDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
2 <property name="jndiName"><value>java:comp/env/qipainw</value></property>
3 </bean>
4
5
6 <bean id="qipaiDataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
7 <property name="jndiName"><value>java:comp/env/qipai</value></property>
8 </bean>
tomcat+xml
conf\server.xml
1 <Connector
2 port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
3 enableLookups="false" redirectPort="8443" acceptCount="100"
4 debug="0" connectionTimeout="20000"
5 disableUploadTimeout="true"
6 useBodyEncodingForURI="true" />
1 <Context path="/YourwebName" reloadable="false"
2 docBase="D:\YourwebName"
3 workDir="D:\YourwebName\work" />
applicationContext-resources.xml
1 <bean id="qipainwDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
2 <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
3 <property name="url" value="jdbc:oracle:thin:@192.168.*.*:6688:tang"/>
4 <property name="username" value="game_qipai"/>
5 <property name="password" value="qipai"/>
6 <property name="maxActive" value="100"/>
7 <property name="maxIdle" value="30"/>
8 <property name="maxWait" value="1000"/>
9 <property name="defaultAutoCommit" value="true"/>
10 <property name="removeAbandoned" value="true"/>
11 <property name="removeAbandonedTimeout" value="60"/>
12 </bean>
13
14 <bean id="qipaiDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
15 <property name="driverClassName" value="com.timesten.jdbc.TimesTenClientDriver"/>
16 <property name="url" value="jdbc:timesten:client:qipai"/>
17 <property name="username" value=""/>
18 <property name="password" value=""/>
19 <property name="maxActive" value="100"/>
20 <property name="maxIdle" value="30"/>
21 <property name="maxWait" value="1000"/>
22 <property name="defaultAutoCommit" value="true"/>
23 <property name="removeAbandoned" value="true"/>
24 <property name="removeAbandonedTimeout" value="60"/>
25 </bean>

]]>- StringtoDate鐨勬柟娉?/title>http://www.aygfsteel.com/llrafale/archive/2007/07/24/132108.htmlllrafalellrafaleTue, 24 Jul 2007 09:33:00 GMThttp://www.aygfsteel.com/llrafale/archive/2007/07/24/132108.htmlhttp://www.aygfsteel.com/llrafale/comments/132108.htmlhttp://www.aygfsteel.com/llrafale/archive/2007/07/24/132108.html#Feedback0http://www.aygfsteel.com/llrafale/comments/commentRss/132108.htmlhttp://www.aygfsteel.com/llrafale/services/trackbacks/132108.html 1 public Date toDay(String date) {
2 DateFormat dateFormat=null;
3 dateFormat = new SimpleDateFormat("yyyy-MM-dd");
4 // dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
5 dateFormat.setLenient(false);
6 try {
7 Date day = dateFormat.parse(date);
8 return day;
9 } catch (Exception e) {
10 e.printStackTrace();
11 return null;
12 }
13 }
14

]]> - 瀹氭椂緇熻http://www.aygfsteel.com/llrafale/archive/2007/07/24/132098.htmlllrafalellrafaleTue, 24 Jul 2007 09:17:00 GMThttp://www.aygfsteel.com/llrafale/archive/2007/07/24/132098.htmlhttp://www.aygfsteel.com/llrafale/comments/132098.htmlhttp://www.aygfsteel.com/llrafale/archive/2007/07/24/132098.html#Feedback0http://www.aygfsteel.com/llrafale/comments/commentRss/132098.htmlhttp://www.aygfsteel.com/llrafale/services/trackbacks/132098.html

/** *//**
* 瀹氭椂緇熻鍦ㄧ嚎浜烘暟
*/

public class PreTestSelRunner
{
private static PreTestSel preTestSel;


/** *//**
* 瀹氭椂鎵ц--闈欐佹柟娉曪紙閬垮厤閲嶅鎵ц錛?br>
* @param conn
* @throws Exception
*/

public static void load() throws Exception
{

//闂撮殧鏃墮棿璁劇疆,10鍒嗛挓
long period = 10*1000*60;
PreTestSelRunner.preTestSel = new PreTestSel(period);
}


/** *//**
* 瀹氭椂璋冪敤涓繪柟娉?br>
*
* PreTestSel.run()
*/

public static void run()
{


try
{
TkGameBeanFactoryPlugin BeanPlugin = TkGameBeanFactoryPlugin.getIntance();
RuntimeSettingsPlugInBL runtimeSettingsPlugInBL = (RuntimeSettingsPlugInBL) BeanPlugin.getBean("runtimeSettingsPlugInBL");


try
{
//澧炲姞緇熻鍦ㄧ嚎浜烘暟璁板綍
List list = runtimeSettingsPlugInBL.getBRSsoByServer();

for(int i=0;i<list.size();i++)
{
Game12OnlineLog obj = new Game12OnlineLog();
obj.setLogtime(new Date());
obj.setServerno(list.get(i).toString());
obj.setValue(Integer.parseInt(list.get(i+1).toString()));
runtimeSettingsPlugIn2BL.saveOnlineLog(obj);

i=i+1;
}

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


} catch (Exception ex)
{
System.out.println("run() error!!");
}

}


}

/** *//**
* 瀹氭椂緇熻鍦ㄧ嚎浜烘暟
*
*/

public class PreTestSel extends TimerTask
{

private Timer timer;

/** *//**
*
* @param firstTime
* @throws Exception
*/

public PreTestSel(long period) throws Exception
{
this.timer = new Timer(true);
this.timer.schedule(this, 0, period);
}

public void destroy()
{
this.timer.cancel();
}


public void run()
{
PreTestSelRunner.run();
}
}


]]> - 鍚姩鏈嶅姟璇誨彇XML閰嶇疆鏂囦歡(瑙f瀽XML)http://www.aygfsteel.com/llrafale/archive/2007/07/24/132090.htmlllrafalellrafaleTue, 24 Jul 2007 09:01:00 GMThttp://www.aygfsteel.com/llrafale/archive/2007/07/24/132090.htmlhttp://www.aygfsteel.com/llrafale/comments/132090.htmlhttp://www.aygfsteel.com/llrafale/archive/2007/07/24/132090.html#Feedback0http://www.aygfsteel.com/llrafale/comments/commentRss/132090.htmlhttp://www.aygfsteel.com/llrafale/services/trackbacks/132090.html
commons-collections-3.1.jar
commons-configuration-1.2.jar
commons-lang.jar
commons-logging.jar
1
public class TankAndkCardPlugIn implements PlugIn
{
2
3
public Map<String, Object> tankMap;
4
5
public void destroy()
{
6
7
}
8
9
10
public void init(ActionServlet actionServlet, ModuleConfig moduleConfig)
11
throws ServletException
{
12
13
ServletContext application = actionServlet.getServletContext();
14
15
//璇誨彇tankshop.xml
16
try
{
17
18
URL url = Thread.currentThread().getContextClassLoader().getResource("tankshop.xml");
19
20
XMLConfiguration configuration = new XMLConfiguration(url);
21
22
List idList = configuration.getList("Table.Row.id");
23
List nameList = configuration.getList("Table.Row.name");
24
List picList = configuration.getList("Table.Row.picture");
25
List infoList = configuration.getList("Table.Row.info");
26
27
tankMap = new HashMap<String, Object>();
28
29
//瑙f瀽xml
30
for(int i=0;i<nameList.size();i++)
{
31
32
String id = (String)idList.get(i);
33
String name = (String)nameList.get(i);
34
String pic = (String)picList.get(i);
35
String info = (String)infoList.get(i);
36
37
TankAndCardObjbean bean = new TankAndCardObjbean();
38
39
bean.setId(id);
40
bean.setName(name);
41
bean.setPicture(pic);
42
bean.setInfo(info);
43
44
tankMap.put(id+"", bean);
45
46
}
47
48
application.setAttribute("tankMap",tankMap);
49
50
System.out.println("tankMap ok!!!!!!!!!!!!!!!!!!!!!");
51
52
} catch (Exception e)
{
53
54
System.out.println("tankMap error************************");
55
}
56
57
58
}
59
60
}
61
62

]]>
主站蜘蛛池模板:
吉安县|
麟游县|
五大连池市|
扶绥县|
清镇市|
龙口市|
临海市|
东宁县|
定结县|
洪泽县|
平果县|
石泉县|
沾化县|
波密县|
高雄县|
黑河市|
温州市|
天门市|
怀远县|
黄浦区|
穆棱市|
建始县|
池州市|
伊金霍洛旗|
庆元县|
津南区|
清涧县|
洛宁县|
外汇|
盐源县|
陆良县|
南康市|
嘉峪关市|
民勤县|
丽水市|
兴宁市|
静海县|
吉水县|
鹤峰县|
山阳县|
吕梁市|