场景
使用KindEditor上传图片后将富文本的内容存在数据库中为:
测试<img src="http://*****:9090/test/upload/commentFile/890661af-1e1e-447a-9a13-8f9c0244a98d.jpg"alt=""/>
现在要在jsp页面中显示照片
调整前:
<tr style="height: 60px;width:60px">
<td style="height:100%;width:100%"
<label for="docfile" class="control-label x90">追评原因</label>
${re.getReason()}
</td>
</tr>
效果:
调整后:
<tr style="height: 400px">
<label for="docfile" class="control-label x90">追评原因</label>
<td style="height: 400px">
<div style="height:100%;width:100%;overflow:auto">
${re.getReason()}
</div>
</td>
</tr>
效果: