博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年6月16日

摘要: public BaseDaoImp() {ParameterizedType type= (ParameterizedType) this.getClass().getGenericSuperclass();this.class1=(Class<T>) type.getActualTypeArguments()[0];System.out.println(class1);}原因是 beans.xml中的事务配置<!-- 配置事务 --> <!-- enable the configuration of transactional behavior based on 阅读全文

posted @ 2013-06-16 19:40 TimeFight 阅读(391) 评论(0) 推荐(0)

摘要: 父窗口js代码function openSelectReceiverUI(){myShowModalDialog("URL地址", 500, 500);}表单<s:hidden name="UserID" /> <s:textfield name="receiverName" cssClass=" required InputStyle" cssStyle="width:250px; float:left;" cssClass="required "/> 阅读全文

posted @ 2013-06-16 15:25 TimeFight 阅读(198) 评论(0) 推荐(0)