`
sctom123
  • 浏览: 112145 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
    //找parent.parent.parent window.parent.parent.parent.document.getElementById("hiddenBtn").value="隐藏列表";          window.parent.parent.document.getElementById("trackListTable").style.display="block";       window.parent.parent.parent.document.getElementById(& ...
xml 代码 <class name="A" entity-name="A" table="aaa">                <id name="id">           <generator class="native"/>       id>   部分,它加了一个CollectionRecreateAction。这就为update 语句埋下了伏笔。     <array name= ...

defalut entityname

String entityName = node.attributeValue( "entity-name" ); if ( entityName == null ) entityName = getClassName( node.attribute("name"), mappings ); if ( entityName==null ) { throw new MappingException( "Unable to determine entity name" ); } persistentC ...
说: 在Hibernate-content.xml中 说: <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <property name="configLocations" value="classpat ...
* A tuplizer defines the contract for things which know how to manage * a particular representation of a piece of data, given that * representation's {@link org.hibernate.EntityMode} (the entity-mode * essentially defining which representation). * </p> * If that given piece of data ...
String driver = "org.hsqldb.jdbcDriver"; String connectString = "jdbc:hsqldb:hsql://localhost"; String user = "sa"; String password = "";
public class ActionException extends RuntimeException { private ActionMessage actionMessage; public ActionException(String key) { actionMessage = new ActionMessage(key); } public String getMessage() { if(actionMessage != null) re ...
<script language="JavaScript" type="text/JavaScript"> function setDefaultExportType() { if (reportDetail.exportType.length) { reportDetail.exportType[0].checked=true } else { reportDetail.exportType.checked=true } } setDefa ...
在做的项目是从webwork转成struts的,同时有些思路和我以前做的不太一样。所以 String submitOkStr = request.getParameter("submitOk");; boolean submitOk = false; if (submitOkStr != null); submitOk = true; //在这里加这样一句,是用来在分页操作时,这时候用户只是点击了下一页的按钮, //并没有点击submitOK按钮,这样就搜索不出数据。 String pageNoStr = request. ...
One way to solve the classloader issue is by reverting the JBoss configuration to the old classloading model. Edit the file &lt;jboss&gt;/server/default/jbossweb-tomcat55.sar/META-INF/jboss-service.xml Change the following lines: &lt;attribute name="Java2ClassLoadingCompliance"& ...
if(hasPostValue == 'true')   {     ok = confirm("部门里面已经下辖职位,如果删除,将把下辖职位一并删除,确实要删除吗?");   }
<set name="posts" cascade="delete" inverse="true"> <key column="dept_id"/> <one-to-many class="Post"/> </set> 注意其中的key column="dept_id",dept_id是子表的鍵字段的列名,而不是主表主键字段的列名.
<%@ page contentType="text/html;charset=gb2312"%> <%@ taglib uri="/tags/struts-html" prefix="html"%> <%@ taglib uri="/tags/struts-bean" prefix="bean"%> <%@ taglib uri="/tags/webui" prefix="webui"%> <% ...
今天在执行ant任务,编译japerreport文件的时候,遇到一个org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic错误,不知道什么原因,多方查找,在网上找到一段资料。如下: java.lang.NoClassDefFoundError: org/xml/sax/SAXNotRecognizedException 你需要保证xerces.jar文件在CLASSPATH中位于其他XML类,如JAXP或Crimson之前,这些类文件,包括以前老版本的x ...
<select name="dataSourceId"> <ww:set name="dataSourceIdC" value="dataSourceId" /> <option value="-1" SELECTED>(none);</option> <ww:iterator value="dataSources"> <option value=<ww:property value=&q ...
Global site tag (gtag.js) - Google Analytics