- 浏览: 4968 次
- 性别:
- 来自: 上海
最近访客 更多访客>>
最新评论
-
hifun:
javax.servlet.ServletException: ...
javax.servlet.ServletException: Session was alread -
szjiang:
cascade="all"
hibernate多表写问题
文章列表
pojo:
Order
public class Order implements java.io.Serializable {
private int id; //订单自动编号
private int orderId;
private String goodsname; //商品名
private int goodsid; //商品ID
private int count; //购买的数量
private Float price; //单价
}
Orders:
public class Orders implements j ...
struts 2+ hibernate 3,
报错:
严重: Servlet.service() for servlet default threw exception
javax.servlet.ServletException: Session was already closed
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher ...
求教,struts2问题
- 博客分类:
- j2ee_web
最近由struts1.x 转学struts2,发现变化好大,一个简单的demo都搞不定,
tomcat 访问 出现:The requested resource (/UploadSample/) is not available,,,
struts.xml配置:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0 ...