`
jianjiaweiyang
  • 浏览: 16577 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
删除jre system library 重新加入jre system library
ubuntu默认无root登入,每次sudo都要输密码 觉得很麻烦,参考网上的解决办法 打开终端 1.sudo 2.Enter your passord 3.visudo  //用vi编辑是sudoers.tmp文件 最后一行加入 4. xxx        NOPASSWD: ALL //xxx为你的用户名 ok.
fn函数:     使用前在Jsp页面的首部加上以下代码:             <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>              下面是JSTL中自带的方法列表以及其描述              函数名 函数说明 使用举例        fn:contains 判断字符串是否包含另外一个字符串 <c:if test="${fn:contains(name, searchString)}&q ...
http://blog.csdn.net/pjchen/article/details/2308245
http://blog.csdn.net/pjchen/article/details/2308245
Exception in thread "main" java.lang.NoClassDefFoundError: javax/persistence/Cacheable Caused by: java.lang.ClassNotFoundException: javax.persistence.Cacheable 错误原因,javax.persistence.Cacheable 是 JPA 2.0 规范中的东西! 需要加入hibernate-distribution-3.5.0-Final\lib\jpa目录下的hibernate-jpa-2.0-api-1.0.0 ...
Struts,Spring,Hibernate面试题总结 Hibernate工作原理及为什么要用? 原理: 1.         读取并解析配置文件 2.         读取并解析映射信息,创建SessionFactory 3.         打开Sesssion 4.         创建事务Transation 5.  ...
因为我Entity里面的属性字段是大写开始 比如User            UserName/*保证有set()get()方法*/ Controller中                 返回List<User> users jsp页面中         <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>         <%@ page isELIgnored="false" %>            <c ...
struts1与struts2本质区别 1 在Action实现类方面的对比 Struts 1要求Action类继续一个抽象基类;Struts 1的一个具体问题是使用抽象类编程而不是接口。Struts 2 Action类可以实现一个Action接口,也可以实现其他接口,使可选和定制的服务成 ...
ejb3-persistent-1.0.2GA.jar和hibernate-jpa-2.0-API-1.0.0-Final.jar包冲突 buildpath中删掉ejb3-persistent-1.0.2GA.jar包即可
工程名有非法字符||空格
看马士兵老师hibernate的视频,用的马老师源码,但运行出错 hibernate.cfg.xml配置文件正确为前提 重新写了个项目 重新编译所有的类 运行成功 <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC         "-//Hibernate/Hibernate Configuration DTD 3.0//EN"         "http://hibernate.sourceforge.net/hibernate-c ...
配置文件hibernate.cfg.xml 在集成Hibernate的环境下(例如Jboss),在hibernate.cfg.xml中session-factory段加入:         <property name="current_session_context_class">jta</property>     在不集成Hibernate的环境下(例如使用JDBC的独立应用程序),在hibernate.cfg.xml中session-factory段加入:         <property name="current_se ...
Global site tag (gtag.js) - Google Analytics