首页 > 编程语言 > 详细

java web 网上零食商城前端代码

时间:2019-06-03 11:34:18      阅读:331      评论:0      收藏:0      [点我收藏+]

(1)、index.jsp

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<%@ include file="/common/pre/header.jsp" %>
SkeyeduMall

<%
Object obj=request.getAttribute("productCategoryVoList");
if(obj==null){
response.sendRedirect(request.getContextPath()+"/Home?action=index");
}
%>


<%@ include file="/common/pre/searchBar.jsp" %>



技术分享图片





${status.index+1}F
${temp.productCategory.name}






  • 技术分享图片

  • 技术分享图片

  • 技术分享图片


上一张

下一张










  • 技术分享图片

  • 技术分享图片





<%@ include file="/common/pre/footer.jsp" %>


2.login.jsp

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%
if(request.getSession().getAttribute("loginUser")!=null){
response.sendRedirect(request.getContextPath()+"/Home?action=index");
}
%>


<%@ include file="/common/pre/header.jsp" %>

SkeyeduMall













备案/许可证编号:蜀ICP备12009302号-1-www.dingguagua.com Copyright ? 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group

技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片





\3.register.jsp

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<%@ include file="/common/pre/header.jsp" %>
SkeyeduMall








技术分享图片



























                <tr height="50">
                    <td align="right">&nbsp;身份证号 &nbsp;</td>
                    <td><input type="text" value="" name="identityCode" class="l_user"/></td>
                </tr>
                <tr height="50">
                    <td align="right">&nbsp;邮箱 &nbsp;</td>
                    <td><input type="text" value="" name="email" class="l_email"/></td>
                </tr>
                <tr height="50">
                    <td align="right">&nbsp;手机 &nbsp;</td>
                    <td><input type="text" value="" name="mobile" class="l_tel"/></td>
                </tr>
                <tr height="60">
                    <td>&nbsp;</td>
                    <td><input type="button" value="立即注册" class="log_btn" onclick="register();"/></td>
                </tr>
            </table>
        </form>
    </div>
</div>
备案/许可证编号:蜀ICP备12009302号-1-www.dingguagua.com Copyright ? 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group
技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片

4.header.jsp
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>







技术分享图片


?
注册
已有商城账号,我要登录
登录用户名 ?
?密码 ?
?确认密码 ?
?真实姓名 ?
*?性别 ?
?男??
?女





技术分享图片
操作成功
























5.footer.jsp

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>





备案/许可证编号:蜀ICP备12009302号-1-www.dingguagua.com Copyright ? 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group

技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片技术分享图片

6.seacherbar.jsp

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>






购物车 [


${sessionScope.cart.items.size()}




]












共计?${sessionScope.cart.sum}










7、
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>





java web 网上零食商城前端代码

原文:https://www.cnblogs.com/panxubin1011703/p/10966534.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!