当前位置:网站首页>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
边栏推荐
猜你喜欢

2022新版nft源码中国元宇宙数字藏品艺术品交易平台源码

Detailed reading of the thesis: implementing volume models for handowriting text recognition

Learning Tai Chi Maker - mqtt Chapter 2 (V) heartbeat mechanism

Excel将一行的内容进行复制时,列与列之间是用制表符“\t”进行分隔的

?位置怎么写才能输出true

Cgo+gsoap+onvif learning summary: 8. Summary of arm platform cross compilation operation and common problems

CUPTI error: CUPTI could not be loaded or symbol could not be found.

别卷!如何高质量地复现一篇论文?

What to do when MySQL changes the password and reports an error

Learning Tai Chi Maker - mqtt Chapter II (VI) mqtt wills
随机推荐
Feign implements path escape through custom annotations
如何学习可编程逻辑控制器(PLC)?
!‘cat‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
整理网上蛋糕商城项目
Notepad++ -- common plug-ins
Analysis of distributed transaction TCC
Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒
大促场景下,如何做好网关高可用防护
lotus v1.16.0 calibnet
Unity out ref params
The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
2022年安全员-B证考试题库及答案
quartus 复制IP核
吴恩达深度学习测验题:deeplearning.ai-week1-quiz
CUPTI error: CUPTI could not be loaded or symbol could not be found.
交流电和直流电的区别是什么?
2022年G3锅炉水处理复训题库模拟考试平台操作
C语言中函数是什么?编程中的函数与数学中的函数区别?理解编程语言中的函数
Unity delegate
别卷!如何高质量地复现一篇论文?