网页形式输出错误日志

<div th:utext="'&lt;!--'" th:remove="tag"></div>
<div th:utext="'Failed Request URL : ' + ${url}" th:remove="tag"></div>
<div th:utext="'Exception message : ' + ${exception.message}" th:remove="tag"></div>
<ul th:remove="tag">
    <li th:each="st : ${exception.stackTrace}" th:remove="tag"><span th:utext="${st}" th:remove="tag"></span></li>
    <div th:utext="'--&gt;'" th:remove="tag"></div>
</ul>

猜你喜欢

转载自blog.csdn.net/thekey1314/article/details/80822314
今日推荐