您好,欢迎来到五一七教育网。
搜索
您的当前位置:首页springboot 图片文件的上传并显示于页面

springboot 图片文件的上传并显示于页面

来源:五一七教育网

springboot中图片文件的上传并显示在页面上

学生页面

在数据库中用picUrl来放图片

<div class="table-responsive ">
                <table class="table table-striped table-sm">
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>学号</th>
                        <th>姓名</th>
                        <th>年龄</th>
                        <th>照片</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr th:each="stu:${stu}">
                        <td th:text="${stuStat.index+1}"></td>
                        <td th:text="${stu.cno} "></td>
                        <td th:text="${stu.name}"></td>
                        <td th:text="${stu.age}"></td>
                        <td

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- 517ttc.cn 版权所有 赣ICP备2024042791号-8

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务