action是表示层的 负责调用业务逻辑的服务组件 service是业务逻辑层的 实际上是调用了DAO的种种方法 DAO类里面就是对于数据库的操作了 Entity是hibernate对于表抽象出来的类 它和它所对应的表的是完全对应的 在DAO类中数据库操作方法中拼接的HQL语句中的就是Entity的名称 表示层的form对应的是jsp页面中的form表单 entity跟form之间没有什么直接关系的
详细解决方案
Action、Service、DAO、Entity数据流程到底是如何样的
热度:776 发布时间:2013-12-17 12:06:34.0
action是表示层的 负责调用业务逻辑的服务组件 service是业务逻辑层的 实际上是调用了DAO的种种方法 DAO类里面就是对于数据库的操作了 Entity是hibernate对于表抽象出来的类 它和它所对应的表的是完全对应的 在DAO类中数据库操作方法中拼接的HQL语句中的就是Entity的名称 表示层的form对应的是jsp页面中的form表单 entity跟form之间没有什么直接关系的
相关解决方案
- 小弟我想做一个多功能web service client
- ssh action 调用service的时分service 为null
- Struts-config.xml配置文件《action-地图pings》元素的详解
- 关于<form action >的一个有关问题
- Servlet.service() for servlet [jsp] in context with path解决方案
- 新手求解,使用struts报错Cannot retrieve definition for form bean studsForm on action /stu,该怎么解决
- form 表单交付 <form action="<c:url value='desktop'/>"
- import cn.luxh.struts2.entity.Novel 急需的jar包是哪个
- 生手求解,使用struts报错Cannot retrieve definition for form bean studsForm on action /stu
- 上面是JAVA WEB中,学生在线考试(action)的代码,有几个不明白,帮忙解释一上
- SSH有关问题,There is no Action 地图ped for action name null
- struts+spring+mybatis出现错误(java.lang.ClassNotFoundException: Entity)为提示位置
- java.util.ArrayList cannot be cast to com.hxll.hr.entity.SalaryStandard解决方法
- web service 第一天接触不懂 仍是那个访问天气预报的例子 代码很简单
- 有个有关问题,请各位帮忙看看:java.lang.ClassNotFoundException: org.apache.struts.action.Act
- 警告: Could not find action or result 什么原因?该如何解决
- Web Service 错误:服务器未能识别 HTTP 头 SOAPAction 的值: http://tempuri.org/
- strust2 No result defined for action and result input有关问题
- struts2 action 实施大概超过一分钟后 不执行跳转了
- Struts2.0和sping3.0结合 诡异错误Unable to instantiate Action
- :Unable to intantiate Action
- web service No services have been found.解决方法
- struts2 下传一段时间后报错No result defined for action and result input重启后便没有有关问题了
- description The requested resource (/gongqiu/goindex.action) is not available.解决方法
- function 施行 *action
- getHibernateTemplate().get(entity.Class,serializabel id) 如何报java.lang.NullPointerException的错误
- 急org.hibernate.MappingException: Unknown entity
- struts action 提交有关问题
- 關於javascript 呼叫 struts action 問題解决方法
- Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPe解决方法