package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class showAll_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvalue_005fid;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fiterator_0026_005fvalue_005fid = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fiterator_0026_005fvalue_005fid.release();
_005fjspx_005ftagPool_005fs_005fproperty_0026_005fvalue_005fnobody.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
response.setContentType("text/html;charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\n");
out.write("\n");
out.write("\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n");
out.write(" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
out.write("\n");
out.write("<html>\n");
out.write(" <head>\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
out.write(" <title>产品列表</title>\n");
out.write(" </head>\n");
out.write(" <body>\n");
out.write(" <center>\n");
out.write(" <h2>产品列表</h2>\n");
out.write(" <table border=\"1\">\n");
out.write(" <tr>\n");
out.write(" <td>产品ID</td>\n");
out.write(" <td>产品名称</td>\n");
out.write(" <td>产品价格</td>\n");
out.write(" <td>是否删除</td>\n");
out.write(" <td>是否更新</td>\n");
out.write(" </tr>\n");
out.write(" ");
if (_jspx_meth_s_005fiterator_005f0(_jspx_page_context))
return;
out.write("\n");
out.write(" </table>\n");
out.write(" <a href=\"add.jsp\">添加产品</a>\n");
out.write(" </center>\n");
out.write(" </body>\n");
out.write("</html>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_s_005fiterator_005f0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:iterator
org.apache.struts2.views.jsp.IteratorTag _jspx_th_s_005fiterator_005f0 = (org.apache.struts2.views.jsp.IteratorTag) _005fjspx_005ftagPool_005fs_005fiterator_0026_005fvalue_005fid.get(org.apache.struts2.views.jsp.IteratorTag.class);
_jspx_th_s_005fiterator_005f0.setPageContext(_jspx_page_context);
_jspx_th_s_005fiterator_005f0.setParent(null);
// /showAll.jsp(27,16) name = value type = java.lang.String reqTime = false required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_s_005fiterator_005f0.setValue("#request.all");
// /showAll.jsp(27,16) name = id type = java.lang.String reqTime = false required = false fragment = false deferredValue = false deferredMethod = false expectedTypeName = null methodSignature = null
_jspx_th_s_005fiterator_005f0.setId("product");
int _jspx_eval_s_005fiterator_005f0 = _jspx_th_s_005fiterator_005f0.doStartTag();
if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005fiterator_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005fiterator_005f0.doInitBody();
}
do {
out.write("\n");
out.write(" <tr>\n");
out.write(" <td>");
if (_jspx_meth_s_005fproperty_005f0(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
return true;
out.write("</td>\n");
out.write(" <td>");
if (_jspx_meth_s_005fproperty_005f1(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
return true;
out.write("</td>\n");
out.write(" <td>");
if (_jspx_meth_s_005fproperty_005f2(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
return true;
out.write("</td>\n");
out.write(" <td><a href=\"delete.action?id=");
if (_jspx_meth_s_005fproperty_005f3(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
return true;
out.write("\">删除</a></td>\n");
out.write(" <td><a href=\"update.jsp?id=");
if (_jspx_meth_s_005fproperty_005f4(_jspx_th_s_005fiterator_005f0, _jspx_page_context))
return true;
out.write("\">更新</a></td>\n");
out.write(" </tr>\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_s_005fiterator_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_s_005fiterator_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.popBody();
}
}
if (_jspx_th_s_005fiterator_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fs_005fiterator_0026_005fvalue_005fid.reuse(_jspx_th_s_005fiterator_005f0);
return true;
}
_005fjspx_005ftagPool_005fs_005fiterator_0026_005fvalue_005fid.reuse(_jspx_th_s_005fiterator_005f0);
return false;
}
priva
没有合适的资源?快使用搜索试试~ 我知道了~
基于Struts2+Hibernate+Spring的简单产品管理系统
共79个文件
jar:21个
xml:21个
java:10个
4星 · 超过85%的资源 需积分: 9 45 下载量 17 浏览量
2011-01-07
16:46:46
上传
评论 2
收藏 10.04MB RAR 举报
温馨提示
这是一个基于Struts2+Hibernate+Spring的简单产品管理系统,主要功能是实现对产品的增、删、改、查,数据存储是利用SQL Server 2000数据库。
资源推荐
资源详情
资源评论
收起资源包目录
ProductManager.rar (79个子文件)
ProductManager
test
src
conf
MANIFEST.MF 25B
java
wxj
dao
ProductDao.java 537B
ProductDaoImpl.java 1KB
action
AddAction.java 2KB
DeleteAction.java 919B
ShowAllAction.java 903B
UpdateAction.java 1KB
AddAction-validation.xml 769B
UpdateAction-validation.xml 769B
domain
Product.hbm.xml 391B
Product.java 735B
service
ProductServiceImpl.java 2KB
ProductService.java 583B
struts.xml 1KB
web
showAll.jsp 1KB
WEB-INF
web.xml 992B
applicationContext.xml 3KB
META-INF
context.xml 95B
add.jsp 934B
update.jsp 1KB
build
generated
src
org
apache
jsp
showAll_jsp.java 15KB
showAll_jsp.class.smap 195B
classes
org
apache
jsp
showAll_jsp.class 9KB
web
showAll.jsp 1KB
WEB-INF
web.xml 992B
applicationContext.xml 3KB
lib
freemarker-2.3.15.jar 859KB
log4j-1.2.9.jar 344KB
struts2-spring-plugin-2.1.8.1.jar 16KB
commons-logging-1.1.jar 51KB
jta.jar 8KB
hibernate3.jar 2.12MB
sqljdbc.jar 227KB
c3p0-0.9.0.4.jar 479KB
spring-2.5.6.SEC01.jar 2.74MB
struts2-core-2.1.8.1.jar 738KB
commons-collections-2.1.1.jar 166KB
commons-fileupload-1.2.1.jar 56KB
dom4j-1.6.1.jar 300KB
asm.jar 25KB
xwork-core-2.1.6.jar 1.49MB
cglib-2.1.3.jar 271KB
antlr-2.7.6.jar 421KB
derbyclient.jar 510KB
asm-attrs.jar 16KB
commons-io-1.3.2.jar 86KB
ognl-2.7.3.jar 234KB
classes
wxj
dao
ProductDao.class 394B
ProductDaoImpl.class 1KB
action
AddAction.class 2KB
DeleteAction.class 1KB
AddAction-validation.xml 769B
UpdateAction-validation.xml 769B
ShowAllAction.class 1KB
UpdateAction.class 2KB
domain
Product.hbm.xml 391B
Product.class 896B
service
ProductServiceImpl.class 1KB
ProductService.class 440B
.netbeans_update_resources 0B
struts.xml 1KB
.netbeans_automatic_build 0B
META-INF
context.xml 95B
MANIFEST.MF 25B
add.jsp 934B
update.jsp 1KB
empty
catalog.xml 217B
productmanager_Log.LDF 1024KB
productmanager_Data.MDF 1024KB
build.xml 3KB
nbproject
build-impl.xml 46KB
private
private.xml 211B
retriever
www.springframework.org
schema
beans
spring-beans.xsd 41KB
catalog.xml 294B
private.properties 2KB
ant-deploy.xml 2KB
project.properties 2KB
project.xml 888B
genfiles.properties 473B
共 79 条
- 1
lengyuexiaoshang
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页