摘要: 这里假设父页面有个弹窗按钮,点击后弹出一个新的窗体,而这个窗体还要包含父窗口的数据,在子窗体操作完后关闭子窗体然后刷新父窗体:父窗体的弹窗按钮单击事件触发后的处理函数: 1 function sendToMakePrice(){ 2 var hrid=$("#hrid").val(); 3 var appid=$("#appid").val(); 4 var posid=$("#posid").val(); 5 var hisid=$("#hisid").val(); 6 7 //到同意与否的界面respond.j 阅读全文
posted @ 2013-02-06 12:32 塔塔兔 阅读(774) 评论(0) 推荐(0) 编辑
摘要: spring集成hibernate于struts最新版本的配置,其中spring配置基于xml+注解的方式实现,即数据集采用xml方式的bean配置,而一些service类则采用基于注解的,持久类也采用基于注解的方式实现。首先是web.xml的配置: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app version="2.5" 3 xmlns="http://java.sun.com/xml/ns/javaee" 4 xmlns:xsi=&qu 阅读全文
posted @ 2013-02-06 12:17 塔塔兔 阅读(223) 评论(0) 推荐(0) 编辑