spring+hibernate+struts(3)

6. 配置 UI层
  添加 struts包,方法同添加 spring一样

使用myeclipse集成struts,hibernate,spring的一个示例程序(图十七)

name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-1572879403720716&dt=1212127971285&lmt=1204238999&format=336x280_as&output=html&correlator=1212127971269&channel=1662112212&url=http%3A%2F%2Fwww.qqread.com%2Fjava%2F2008%2F02%2Fu396593_3.html&color_bg=F9FCFE&color_text=000000&color_link=265997&color_url=000000&color_border=F9FCFE&ad_type=text_image&ref=http%3A%2F%2Fwww.qqread.com%2Fjava%2F2008%2F02%2Fu396593_2.html&frm=0&cc=100&ga_vid=3583829624041725000.1212125568&ga_sid=1212127897&ga_hid=1127756343&ga_fc=true&flash=9.0.115.0&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_his=4&u_java=true" frameborder="0" width="336" scrolling="no" height="280" allowtransparency="allowtransparency">

 



配置struts-config.xml文件,在空白区域右键单击 new 一个 action ,actionForm ,jsp

使用myeclipse集成struts,hibernate,spring的一个示例程序(图十八)



使用myeclipse集成struts,hibernate,spring的一个示例程序(图十九)



使用myeclipse集成struts,hibernate,spring的一个示例程序(图二十)



下一步
对forward作设置,增加succeed转到welcome.jsp,fail转到login.jsp
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值