锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲一区二区三区乱码A,亚洲国产一区二区三区青草影视,亚洲天天做日日做天天欢毛片http://m.tkk7.com/zhangjingqiang/zh-cnMon, 12 May 2025 05:38:31 GMTMon, 12 May 2025 05:38:31 GMT60- Struts+Spring+Hibernate闆嗘垚綆鍗曢厤緗?/title>http://m.tkk7.com/zhangjingqiang/archive/2007/02/05/97937.htmlzhangjingqiangzhangjingqiangMon, 05 Feb 2007 02:49:00 GMThttp://m.tkk7.com/zhangjingqiang/archive/2007/02/05/97937.htmlhttp://m.tkk7.com/zhangjingqiang/comments/97937.htmlhttp://m.tkk7.com/zhangjingqiang/archive/2007/02/05/97937.html#Feedback0http://m.tkk7.com/zhangjingqiang/comments/commentRss/97937.htmlhttp://m.tkk7.com/zhangjingqiang/services/trackbacks/97937.html
applicationContext.xml
聽1
<?
xml聽version="1.0"聽encoding="UTF-8"
?>
聽2
<!
DOCTYPE聽beans聽PUBLIC聽"-//SPRING//DTD聽BEAN//EN"聽"http://www.springframework.org/dtd/spring-beans.dtd"
>
聽3
<
beans
>
聽4
聽聽聽聽
<
bean聽
id
="dataSource"
聽5
聽聽聽聽聽聽聽聽class
="org.apache.commons.dbcp.BasicDataSource"
>
聽6
聽聽聽聽聽聽聽聽
<
property聽
name
="driverClassName"
>
聽7
聽聽聽聽聽聽聽聽聽聽聽聽
<
value
>
com.mysql.jdbc.Driver
</
value
>
聽8
聽聽聽聽聽聽聽聽
</
property
>
聽9
聽聽聽聽聽聽聽聽
<
property聽
name
="url"
>
10
聽聽聽聽聽聽聽聽聽聽聽聽
<
value
>
jdbc:mysql://localhost:3306/j2ee
</
value
>
11
聽聽聽聽聽聽聽聽
</
property
>
12
聽聽聽聽聽聽聽聽
<
property聽
name
="username"
>
13
聽聽聽聽聽聽聽聽聽聽聽聽
<
value
>
root
</
value
>
14
聽聽聽聽聽聽聽聽
</
property
>
15
聽聽聽聽
</
bean
>
16
聽聽聽聽
<
bean聽
id
="sessionFactory"
17
聽聽聽聽聽聽聽聽class
="org.springframework.orm.hibernate3.LocalSessionFactoryBean"
>
18
聽聽聽聽聽聽聽聽
<
property聽
name
="dataSource"
>
19
聽聽聽聽聽聽聽聽聽聽聽聽
<
ref聽
bean
="dataSource"
聽
/>
20
聽聽聽聽聽聽聽聽
</
property
>
21
聽聽聽聽聽聽聽聽
<
property聽
name
="hibernateProperties"
>
22
聽聽聽聽聽聽聽聽聽聽聽聽
<
props
>
23
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<
prop聽
key
="hibernate.dialect"
>
24
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽org.hibernate.dialect.MySQLDialect
25
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
</
prop
>
26
聽聽聽聽聽聽聽聽聽聽聽聽
</
props
>
27
聽聽聽聽聽聽聽聽
</
property
>
28
聽聽聽聽聽聽聽聽
<
property聽
name
="mappingResources"
>
29
聽聽聽聽聽聽聽聽聽聽聽聽
<
list
>
30
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽
<
value
>
org/me/sshdemo/db/Usertable.hbm.xml
</
value
>
31
聽聽聽聽聽聽聽聽聽聽聽聽
</
list
>
32
聽聽聽聽聽聽聽聽
</
property
>
33
聽聽聽聽
</
bean
>
34
聽聽聽聽
<
bean聽
id
="UsertableDAO"
聽class
="org.me.sshdemo.dao.UsertableDAO"
>
35
聽聽聽聽聽聽聽聽
<
property聽
name
="sessionFactory"
>
36
聽聽聽聽聽聽聽聽聽聽聽聽
<
ref聽
bean
="sessionFactory"
聽
/>
37
聽聽聽聽聽聽聽聽
</
property
>
38
聽聽聽聽
</
bean
>
39
聽聽聽聽
<
bean聽
name
="/input"
聽class
="org.me.sshdemo.action.InputAction"
40
聽聽聽聽聽聽聽聽abstract
="false"
聽singleton
="false"
聽lazy-init
="default"
41
聽聽聽聽聽聽聽聽autowire
="default"
聽dependency-check
="default"
>
42
聽聽聽聽聽聽聽聽
<
property聽
name
="usertableDao"
>
43
聽聽聽聽聽聽聽聽聽聽聽聽
<
ref聽
bean
="UsertableDAO"
聽
/>
44
聽聽聽聽聽聽聽聽
</
property
>
45
聽聽聽聽
</
bean
>
46
聽聽聽聽
<
bean聽
name
="/selectAllUsers"
47
聽聽聽聽聽聽聽聽class
="org.me.sshdemo.action.SelectAllUsersAction"
聽abstract
="false"
48
聽聽聽聽聽聽聽聽singleton
="false"
聽lazy-init
="default"
聽autowire
="default"
49
聽聽聽聽聽聽聽聽dependency-check
="default"
>
50
聽聽聽聽聽聽聽聽
<
property聽
name
="usertableDao"
>
51
聽聽聽聽聽聽聽聽聽聽聽聽
<
ref聽
bean
="UsertableDAO"
聽
/>
52
聽聽聽聽聽聽聽聽
</
property
>
53
聽聽聽聽
</
bean
>
54
</
beans
>
struts-config.xml
聽1
<?
xml聽version="1.0"聽encoding="UTF-8"
?>
聽2
<!
DOCTYPE聽struts-config聽PUBLIC聽"-//Apache聽Software聽Foundation//DTD聽Struts聽Configuration聽1.2//EN"聽"http://struts.apache.org/dtds/struts-config_1_2.dtd"
>
聽3
<
struts-config
>
聽4
聽聽聽聽
<
data-sources聽
/>
聽5
聽聽聽聽
<
form-beans
>
聽6
聽聽聽聽聽聽聽聽
<
form-bean聽
name
="inputForm"
聽type
="org.me.sshdemo.db.Usertable"
聽
/>
聽7
聽聽聽聽
</
form-beans
>
聽8
聽聽聽聽
<
global-exceptions聽
/>
聽9
聽聽聽聽
<
global-forwards聽
/>
10
聽聽聽聽
<
action-mappings
>
11
聽聽聽聽聽聽聽聽
<
action聽
attribute
="inputForm"
聽input
="/input.jsp"
12
聽聽聽聽聽聽聽聽聽聽聽聽name
="inputForm"
聽path
="/input"
聽scope
="request"
13
聽聽聽聽聽聽聽聽聽聽聽聽type
="org.springframework.web.struts.DelegatingActionProxy"
>
14
聽聽聽聽聽聽聽聽聽聽聽聽
<
forward聽
name
="selectAllUsers"
聽path
="/selectAllUsers.do"
15
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽redirect
="true"
聽
/>
16
聽聽聽聽聽聽聽聽
</
action
>
17
聽聽聽聽聽聽聽聽
<
action聽
path
="/selectAllUsers"
18
聽聽聽聽聽聽聽聽聽聽聽聽type
="org.springframework.web.struts.DelegatingActionProxy"
>
19
聽聽聽聽聽聽聽聽聽聽聽聽
<
forward聽
name
="output"
聽path
="/output.jsp"
聽redirect
="true"
聽
/>
20
聽聽聽聽聽聽聽聽
</
action
>
21
聽聽聽聽
</
action-mappings
>
22
聽聽聽聽
<
message-resources聽
parameter
="org.me.sshdemo.ApplicationResources"
聽
/>
23
聽聽聽聽
<
plug-in
24
聽聽聽聽聽聽聽聽
className
="org.springframework.web.struts.ContextLoaderPlugIn"
>
25
聽聽聽聽聽聽聽聽
<
set-property聽
property
="contextConfigLocation"
26
聽聽聽聽聽聽聽聽聽聽聽聽value
="/WEB-INF/applicationContext.xml"
聽
/>
27
聽聽聽聽
</
plug-in
>
28
</
struts-config
>
Usertable.hbm.xml
聽1
<?
xml聽version="1.0"聽encoding="utf-8"
?>
聽2
<!
DOCTYPE聽hibernate-mapping聽PUBLIC聽"-//Hibernate/Hibernate聽Mapping聽DTD聽3.0//EN"
聽3
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"
>
聽4
<!--
聽
聽5
聽聽聽聽Mapping聽file聽autogenerated聽by聽MyEclipse聽-聽Hibernate聽Tools
聽6
-->
聽7
<
hibernate-mapping
>
聽8
聽聽聽聽
<
class聽
name
="org.me.sshdemo.db.Usertable"
聽table
="usertable"
>
聽9
聽聽聽聽聽聽聽聽
<
id聽
name
="userid"
聽type
="java.lang.Integer"
>
10
聽聽聽聽聽聽聽聽聽聽聽聽
<
column聽
name
="userid"
聽
/>
11
聽聽聽聽聽聽聽聽聽聽聽聽
<
generator聽
class
="native"
聽
/>
12
聽聽聽聽聽聽聽聽
</
id
>
13
聽聽聽聽聽聽聽聽
<
property聽
name
="username"
聽type
="java.lang.String"
>
14
聽聽聽聽聽聽聽聽聽聽聽聽
<
column聽
name
="username"
聽length
="20"
聽
/>
15
聽聽聽聽聽聽聽聽
</
property
>
16
聽聽聽聽聽聽聽聽
<
property聽
name
="userpwd"
聽type
="java.lang.String"
>
17
聽聽聽聽聽聽聽聽聽聽聽聽
<
column聽
name
="userpwd"
聽length
="20"
聽
/>
18
聽聽聽聽聽聽聽聽
</
property
>
19
聽聽聽聽
</
class
>
20
</
hibernate-mapping
>
瀹屾暣紼嬪簭:http://zhangjingqiang.javaeye.com/blog/51798
]]>
主站蜘蛛池模板:
免费一级毛片在线观看|
99久久99久久精品免费观看|
久久综合久久综合亚洲|
精品亚洲成A人无码成A在线观看|
亚洲成人网在线观看|
亚洲精品无码人妻无码|
亚洲日韩在线观看免费视频|
免费观看在线禁片|
四虎在线视频免费观看|
亚洲精品动漫人成3d在线|
日韩亚洲欧洲在线com91tv|
亚洲人成电影院在线观看|
一级做性色a爰片久久毛片免费|
美女内射毛片在线看免费人动物|
在线免费观看视频你懂的|
亚洲中文字幕乱码熟女在线|
男人进去女人爽免费视频国产|
国产免费黄色大片|
亚洲视频在线观看不卡|
美女露隐私全部免费直播|
玖玖在线免费视频|
亚洲国产精品无码久久一线|
最近免费mv在线观看动漫|
久久免费观看国产精品|
亚洲天堂中文字幕|
免费在线看片网站|
理论亚洲区美一区二区三区|
亚洲国产精品无码中文lv|
久久久久久影院久久久久免费精品国产小说|
久久九九兔免费精品6|
又粗又大又黑又长的免费视频|
97久久国产亚洲精品超碰热|
亚洲免费视频观看|
亚洲一区二区三区免费视频|
99久久免费精品国产72精品九九|
亚洲日韩精品无码AV海量|
高清在线亚洲精品国产二区|
东方aⅴ免费观看久久av
|
国产午夜免费秋霞影院|
免费观看四虎精品成人|
又粗又长又爽又长黄免费视频|