当前位置:网站首页>Organize the online cake mall project
Organize the online cake mall project
2022-06-28 04:58:00 【The absolute wolf under the stars】
List of articles
Online cake mall project
Other intellectual
Shortcut key
ctrl+shift+T Accidentally close the browser to restore the shortcut key
front end
Components
flexSlider
Use of the picture rotation plug-in
Bootstrap frame
Bootstrap It is the most popular front-end component library in the world , For developing responsive layouts 、 Mobile device first WEB project .
Bootstrap It's a set for HTML、CSS and JS Open source toolset developed . Use what we offer Sass Variables and large numbers mixin、 Responsive grid system 、 Expandable prefabricated components 、 be based on jQuery Powerful plug-in system , Be able to quickly prototype your idea or build an entire app .
Use data-slide-to Here's a raw sliding index to the bottom of the carousel bed ,data-slide-to=“2” Will move the slider to a specific index , Index from 0 Start counting .
Bootstrap How to switch the navigation bar of active
Click to learn
Basic knowledge points
use li Labels and a Click on the tab to navigate the area
Click to learn
Back end
jsp
varStatus attribute
varStatus yes <c:forEach>jstl An attribute of the loop label
varStatus The function of attributes :
varStatus=“status” In fact, it defines a status Object named as varStatus The binding value of . The binding value is status Encapsulates the current traversal state , such as , You can see from this object how many elements have been traversed :${status.count}
jsp:param action
When using <jsp:include> When an action tag introduces a program that can be executed dynamically , Such as Servlet or JSP page , By using <jsp:param> The action tag passes parameter information to the program .
#index.jsp
<body>
Pass three numbers to order.jsp And display the results
<jsp:include page="order.jsp">
<jsp:param name="m1" value="8"/>
<jsp:param name="m2" value="3"/>
<jsp:param name="m3" value="5"/>
</jsp:include>
</body>
#order.jsp
<body>
<%=m1%>、<%=m2%>、<%=m3%>
</body>
# The result is 8、3、5
Persistence layer
MapListHandler
MapListHandler Class implements the ResultSetHandler Interface
MapListHandler: Encapsulate the specified column value of each record in multiple records into a Map Collection ,Map Of key Is the column name ,Map Of value Is the column in the table The value of the record . And encapsulate multiple records into a single file containing Map Of List Collection .
10.java Several data objects in
explain
11.BeanUtils.copyProperties Usage of
BeanUtils It provides the right java Reflection and introspection API Packaging . There are many tools in it , Let's introduce copyProperties.
If we have two that have many of the same properties JavaBean, A very common situation is Struts Inside PO object ( Persistent object ) And corresponding ActionForm, use copyProperties, Just one line of code , And then it's done .
BeanUtils.copyProperties(" Class before conversion ", " The converted class ");
12.param
EL Expression implicit object : Save all the request parameters Map object
边栏推荐
- Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒
- 控制器的功能和工作原理
- PMP考试成绩多久出来?这些你务必知道!
- [Matlab bp regression prediction] GA Optimized BP regression prediction (including comparison before optimization) [including source code 1901]
- wordpress zibll子比主题6.4.1开心版 免授权
- 100+数据科学面试问题和答案总结 - 机器学习和深度学习
- UI automation test framework construction - write an app automation
- 2022年G3锅炉水处理复训题库模拟考试平台操作
- Feign通过自定义注解实现路径的转义
- 如何从零设计一款牛逼的高并发架构(建议收藏)
猜你喜欢

Binary sort tree: BST

多线程实现 重写run(),怎么注入使用mapper文件操作数据库

mysql修改密码报错需要怎么做

The number of small stores in Suning has dropped sharply by 428 in one year. Zhangkangyang, the son of Zhang Jindong, is the actual controller

Distributed transaction - Final consistency scheme based on message compensation (local message table, message queue)

Severe tire damage: the first rock band in the world to broadcast live on the Internet

Feign通过自定义注解实现路径的转义

OracleData安装问题

S32ds jump to defaultisr

2022年全国最新消防设施操作员(初级消防设施操作员)模拟题及答案
随机推荐
CUPTI error: CUPTI could not be loaded or symbol could not be found.
BioVendor sRAGE抗体解决方案
Code understanding: implementing volume models for hangwriten text recognition
深度强化学习笔记
!‘ Cat 'is not an internal or external command, nor is it a runnable program or batch file.
测试开发必备技能:安全测试漏洞靶场实战
学习太极创客 — MQTT 第二章(六)MQTT 遗嘱
Analysis of distributed transaction solution Seata golang
[Matlab bp regression prediction] GA Optimized BP regression prediction (including comparison before optimization) [including source code 1901]
学习太极创客 — MQTT 第二章(五)心跳机制
QCOM LCD调试
别卷!如何高质量地复现一篇论文?
求一个能判断表中数据,只填充不覆盖的sql
Unity delegate
氨基染料研究:Lumiprobe FAM 胺,6-异构体
Huawei's 9-year experience as a software testing director
现代交换原理MOOC部分题目整理
Feign通过自定义注解实现路径的转义
程序员坐牢了,会被安排去写代码吗?
交流电和直流电的区别是什么?