/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.47
* Generated at: 2022-07-29 10:09:56 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class jstl_002dforeach_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fend_005fbegin;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fend_005fbegin = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.release();
_005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fend_005fbegin.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.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("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write(" <title>Title</title>\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write(" <table border=\"1px\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th>序号</th>\r\n");
out.write(" <th>品牌名称</th>\r\n");
out.write(" <th>企业名称</th>\r\n");
out.write(" <th>排序</th>\r\n");
out.write(" <th>品牌介绍</th>\r\n");
out.write(" <th>状态</th>\r\n");
out.write(" <th>操作</th>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </table>\r\n");
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_005fforEach_005f1(_jspx_page_context))
return;
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.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);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_005fforEach_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fforEach_005f0.setParent(null);
// /jstl-foreach.jsp(27,4) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
_jspx_th_c_005fforEach_005f0.setItems(new org.apache.jasper.el.JspValueExpression("/jstl-foreach.jsp(27,4) '${brands}'",_el_expressionfactory.createValueExpression(_jspx_page_context.getELContext(),"${brands}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
// /jstl-foreach.jsp(27,4) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fforEach_005f0.setVar("brand");
int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] { 0 };
try {
int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <tr align=\"center\"bgcolor=\"#ffc0cb\">\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${brand.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${brand.brandName}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${brand.companyName}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${brand.ordered}", java.lang.String.class, (javax.servlet.jsp.PageC
没有合适的资源?快使用搜索试试~ 我知道了~
mvc三层架构应用案例简单代码
共121个文件
java:32个
class:31个
xml:29个
需积分: 47 4 下载量 61 浏览量
2022-07-30
20:12:26
上传
评论
收藏 6.86MB ZIP 举报
温馨提示
mvc三层架构应用案例简单代码 详见其中brand-demo 技术:mybatis+maven+mysql+JSP+HTML+servlet+JS
资源详情
资源评论
资源推荐
收起资源包目录
mvc三层架构应用案例简单代码 (121个子文件)
access_log.2022-07-29 5KB
access_log.2022-07-29 3KB
access_log.2022-07-30 10KB
jstl_002dforeach_jsp.class 10KB
brand_jsp.class 9KB
updateBrand_jsp.class 7KB
jstl_002dif_jsp.class 6KB
MyBatisTest.class 6KB
AddBrand_jsp.class 5KB
hello_jsp.class 4KB
el_002ddemo_jsp.class 4KB
index_jsp.class 4KB
index_jsp.class 4KB
registerservlet.class 3KB
loginservlet.class 3KB
Brand.class 3KB
Brand.class 3KB
UpdateServlrt.class 2KB
AddServlrt.class 2KB
Brand.class 2KB
BrandService.class 2KB
Servletdemo1.class 2KB
User.class 2KB
selectByIdServlet.class 2KB
DeleteServlet.class 2KB
MyBatisDemo2.class 2KB
SelectAllServlet.class 2KB
MyBatisDemo.class 2KB
User.class 1KB
SqlSessionFactoryUtils.class 1KB
BrandMapper.class 655B
UserMapper.class 417B
BrandMapper.class 332B
UserMapper.class 253B
register.css 3KB
login.css 1KB
register.html 1KB
login.html 745B
index.html 199B
mybatis-demo.iml 2KB
jstl_002dforeach_jsp.java 16KB
brand_jsp.java 14KB
updateBrand_jsp.java 10KB
MyBatisTest.java 9KB
jstl_002dif_jsp.java 8KB
AddBrand_jsp.java 4KB
hello_jsp.java 3KB
el_002ddemo_jsp.java 3KB
index_jsp.java 3KB
index_jsp.java 3KB
Brand.java 2KB
Brand.java 2KB
registerservlet.java 2KB
BrandService.java 2KB
loginservlet.java 2KB
Brand.java 2KB
UpdateServlrt.java 2KB
AddServlrt.java 2KB
Servletdemo1.java 1KB
MyBatisDemo2.java 1KB
User.java 1KB
MyBatisDemo.java 1KB
selectByIdServlet.java 1KB
SelectAllServlet.java 991B
DeleteServlet.java 965B
SqlSessionFactoryUtils.java 957B
SqlSessionFactoryUtils.java 863B
User.java 822B
BrandMapper.java 694B
UserMapper.java 287B
BrandMapper.java 274B
UserMapper.java 169B
Desert.jpg 6.36MB
reg_bg_min.jpg 380KB
brand.jsp 1KB
updateBrand.jsp 1KB
jstl-foreach.jsp 1KB
AddBrand.jsp 854B
jstl-if.jsp 764B
hello.jsp 383B
el-demo.jsp 352B
index.jsp 52B
index.jsp 52B
inputFiles.lst 839B
inputFiles.lst 369B
createdFiles.lst 263B
inputFiles.lst 172B
createdFiles.lst 105B
createdFiles.lst 48B
logging.properties 3KB
logging.properties 3KB
logging.properties 3KB
web.xml 149KB
web.xml 149KB
web.xml 149KB
BrandMapper.xml 4KB
BrandMapper.xml 4KB
pom.xml 2KB
pom.xml 2KB
pom.xml 2KB
共 121 条
- 1
- 2
不知迷踪
- 粉丝: 163
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0