<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0068)http://www.diybl.com/course/3_program/java/javajs/200843/108211.html -->
<HTML><HEAD><TITLE>struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程</TITLE>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<META content=www.diybl.com,DIY部落版权所有 name=Copyright>
<META content=struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程 name=keywords>
<META
content="struts+spring+ibatis示例(附:源代码)_Java技术文章_		 下面这篇文章介绍的是struts+spring+ibatis示例,笔者将从他们的配置直到部署都尽可能的介绍清楚:1 .."
name=description>
<META content=index,follow name=robots>
<META content=INDEX,FOLLOW name=GOOGLEBOT><LINK href="article2.css"
type=text/css rel=stylesheet><LINK
href="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/article2.css"
type=text/css rel=stylesheet>
<SCRIPT src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/article.js"
type=text/javascript></SCRIPT>
<SCRIPT src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/1030303.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY><INPUT type=hidden value=108211 name=passage_id><INPUT type=hidden
value=1030303 name=catalog_id>
<DIV id=wrap>
<DIV class=top_bar align=center>
<TABLE cellSpacing=0 width=935>
<TBODY>
<TR>
<TD><A href="http://www.diybl.com/">网站首页</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://news.diybl.com/" target=_blank>新闻首页</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/1_web/">网页设计</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/2_picdesign/">图形动画</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/3_program/">软件编程</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/4_webprogram/">网站开发</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/5_office/">办公软件</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/6_system/">操作系统</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/7_databases/">数据库</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/webjsh/">网络技术</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/comshiti/">认证考试</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/fwzl/">范文资料</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/course/hack/">黑客攻防</A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://www.diybl.com/chm/" target=_blank><FONT
color=red>书籍教程</FONT></A></TD>
<TD class=top_bar_sline></TD>
<TD><A href="http://forum.diybl.com/"
target=_blank>进入论坛</A></TD></TR></TBODY></TABLE></DIV>
<TABLE class=adNone id=PublicRelation cellSpacing=0 cellPadding=0 width=950
border=0>
<TBODY>
<TR>
<TD vAlign=top width=864>
<DIV class=logo><A href="http://www.diybl.com/" target=_blank><IMG
height=60
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/logo.gif"
width=200></A></DIV>
<DIV class=ad_f1 id=ad_f1>
<SCRIPT
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/ad_f1.js"></SCRIPT>
</DIV><!--<div class="top_bar2">-->
<UL class=menu>
<LI><A href="http://www.diybl.com/course/3_program/java/"
target=_blank><SPAN>Java</SPAN></A>
<LI><A href="http://www.diybl.com/course/3_program/java/javaxl/"
target=_blank><SPAN>Java系列教程</SPAN></A>
<LI><A href="http://www.diybl.com/course/3_program/java/javashl/"
target=_blank><SPAN>Java实例教程</SPAN></A>
<LI><A
href="http://www.diybl.com/course/3_program/java/javajs/dcf9okdssd.html"
target=_blank><SPAN>Java技术文章</SPAN></A></LI></UL><!--</div>--></TD>
<TD width=6></TD>
<TD vAlign=top align=middle width=100>
<DIV class=hotNCout>
<DIV class=hotNC>
<UL>
<LI><A
href="javascript:window.external.addFavorite('http://www.diybl.com/','DIY部落');">加入收藏</A>
<LI><A href="http://www.diybl.com/map.html" target=_blank>网站地图</A>
<LI><A href="http://www.diybl.com/chm/" target=_blank>书籍教程</A>
<LI><A href="http://www.diybl.com/user/register.asp"
target=_blank>会员注册</A> </LI></UL></DIV></DIV></TD></TR></TBODY></TABLE>
<DIV class=split style="HEIGHT: 3px"></DIV>
<DIV class=ad_ftop id=ad_ftop>
<SCRIPT
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/ad_ftop.js"></SCRIPT>
</DIV>
<DIV class=subNav>
<DIV style="FLOAT: right"><INPUT name=wd1> <INPUT onclick=tosearch(document.all.wd1); type=button value=" 千寻搜索 "></DIV><SPAN><A
href="http://www.diybl.com/">DIY部落</A> >> <A
href="http://www.diybl.com/course/3_program/">软件编程</A> >> <A
href="http://www.diybl.com/course/3_program/java/">Java</A> >> <A
href="http://www.diybl.com/course/3_program/java/javajs/dcf9okdssd.html">Java技术文章</A>
>> 正文</SPAN></DIV>
<DIV class=split></DIV>
<DIV class=main>
<DIV class=lc_blue>
<DIV class=lcBlk>
<H1>struts+spring+ibatis示例(附:源代码)</H1>
<DIV class=from_info>http://www.diybl.com/ 2008-4-3 网络 点击:<SPAN
style="FONT-WEIGHT: bold; COLOR: #ff0000">
<SCRIPT src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/p_count.htm"
lanuage="javascript"></SCRIPT>
</SPAN> <A
href="http://www.diybl.com/course/3_program/java/javajs/200843/108211.html#comment">[
评论 ]</A></DIV>
<DIV class=artibody>
<DIV class=ad_f2 id=ad_f2>
<SCRIPT
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/ad_f2.js"></SCRIPT>
</DIV>
<DIV class=ad_f3 id=ad_f3>
<SCRIPT
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/ad_f3.js"></SCRIPT>
</DIV>文章搜索: <INPUT maxLength=255 size=30 name=wd2> <INPUT onclick=tosearch(document.all.wd2); type=button value=千寻搜索><A
class=redlink
href="http://www.diybl.com/course/3_program/java/javajs/dcf9okdssd.html"
target=_blank>点击制作chm打包电子书教程</A>
<SCRIPT
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/art_top.js"></SCRIPT>
<P>
<P> 下面这篇文章介绍的是struts+spring+ibatis示例,笔者将从他们的配置直到部署都尽可能的介绍清楚:</P>
<P>1 首先创建数据库(以oracle为例),数据库脚本如下:</P><BR><BR><IMG alt=""
src="struts+spring+ibatis示例(附:源代码)_Java技术文章_Java_软件编程.files/None.gif"
align=top><SPAN style="COLOR: #0000ff">CREATE</SPAN><SPAN
style="COLOR: #000000"> </SPAN><SPAN
style="COLOR: #0000ff">TABLE</SPAN><SPAN
style="COLOR: #000000"> EMPLOYEE(EMPLOYEEID </SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: #000000">INTEGER</SPAN><SPAN
style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #808080">NOT</SPAN><SPAN
style="COLOR: #000000"> </SPAN><SPAN
style="COLOR: #0000ff">NULL</SPAN><SPAN
style="COLOR: #000000"> </SPAN><SPAN
style="COLOR: #0000ff">PRIMARY</SPAN><SPAN
style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">KEY</SPAN><SPAN
style="COLOR: #000000">,FIRSTNAME </SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: #000000">VARCHAR</SPAN><SPAN
style="COLOR: #000000">(</SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: #800000">256</SPAN><SPAN
style="COLOR: #000000">),LASTNAME </SPAN><SPAN
style="FONT-WEIGHT: bold; COLOR: #000000">VARCHAR</SPAN><SPAN
style="COLOR: #000000">(</SPAN><SPAN
style="FONT