相关疑难解决方法(0)

从Byte Array设置img src

我需要img src从一个Object中的字节数组中设置属性.

<img id="profileImage">
    <spring:bind path="object.profilePicture">
        <input type="file" name="profilePicture" id="profilePicture" path="profilePicture">
    </spring:bind>
Run Code Online (Sandbox Code Playgroud)

我需要img在输入标记的上面显示该字节数组.

html javascript java jsp image

7
推荐指数
2
解决办法
3万
查看次数

标签 统计

html ×1

image ×1

java ×1

javascript ×1

jsp ×1