资源简介

一个简单的订单管理系统,目的为了初学者对ssh工程的了解,内有源码,可完美运行。

资源截图

代码片段和文件信息

package cn.shop.filter;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

public class EncodingFilter implements Filter {

public void destroy() {
// TODO Auto-generated method stub

}

public void doFilter(ServletRequest request ServletResponse response
FilterChain chain) throws IOException ServletException {
// TODO Auto-generated method stub

request.setCharacterEncoding(“gb2312“);
chain.doFilter(request response);


}

public void init(FilterConfig arg0) throws ServletException {
// TODO Auto-generated method stub

}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1406  2011-11-20 19:01  shop\shop\.classpath

     文件        505  2007-08-07 11:48  shop\shop\.myhibernatedata

     文件        285  2011-11-22 16:03  shop\shop\.mymetadata

     文件        255  2007-08-06 15:27  shop\shop\.mystrutsdata

     文件       1770  2011-11-24 16:32  shop\shop\.project

     文件        415  2011-11-20 16:14  shop\shop\.springBeans

     文件        472  2007-08-06 15:51  shop\shop\hibernate.reveng.xml

     文件       2575  2011-11-20 20:17  shop\shop\src\app-hibrnate.xml

     文件       1441  2007-08-08 19:30  shop\shop\src\applicationContext.xml

     文件        784  2007-08-08 14:37  shop\shop\src\cn\shop\filter\EncodingFilter.java

     文件        674  2007-08-08 14:32  shop\shop\src\cn\shop\model\Order.hbm.xml

     文件       1142  2007-08-08 13:46  shop\shop\src\cn\shop\model\Order.java

     文件        643  2007-08-08 13:21  shop\shop\src\cn\shop\model\OrderLineItem.hbm.xml

     文件       1138  2007-08-07 22:51  shop\shop\src\cn\shop\model\OrderLineItem.java

     文件       2711  2007-08-08 20:39  shop\shop\src\cn\shop\service\dao\hibernate\OrderDAOHibernateImpl.java

     文件        967  2007-08-18 14:32  shop\shop\src\cn\shop\service\dao\IOrderDAO.java

     文件       1057  2007-08-08 19:29  shop\shop\src\cn\shop\service\IOrderService.java

     文件       1201  2007-08-08 19:29  shop\shop\src\cn\shop\service\spring\OrderServiceSpringImpl.java

     文件       2528  2007-08-18 14:31  shop\shop\src\cn\shop\struts\action\AddNewOrder.java

     文件       1114  2007-08-18 14:23  shop\shop\src\cn\shop\struts\action\baseAction.java

     文件       2688  2007-08-18 14:23  shop\shop\src\cn\shop\struts\action\baseDispatchAction.java

     文件       7854  2007-08-18 14:32  shop\shop\src\cn\shop\struts\action\OrderOperateAction.java

     文件       3504  2007-08-08 20:53  shop\shop\src\cn\shop\struts\ApplicationResources.properties

     文件       1449  2007-08-07 15:06  shop\shop\src\cn\shop\struts\form\OrderForm.java

     文件       2360  2007-08-09 20:47  shop\shop\src\cn\shop\test\OrderServiceImplTest.java

     文件       3326  2007-08-06 15:36  shop\shop\src\cn\shop\util\HibernateSessionFactory.java

     文件       2177  2007-08-06 15:47  shop\shop\src\dbo.mer

     文件       1090  2007-08-07 20:28  shop\shop\src\hibernate.cfg.xml

     文件        226  2007-08-07 20:53  shop\shop\src\log4j.properties

     文件       4050  2007-08-07 20:51  shop\shop\WebRoot\AddNewOrder.jsp

............此处省略84个文件信息

评论

共有 条评论