如圖所示,有太多的js需要導入了, 所以我想搞個通用的。比如在jsp中:可以定義一個<script xxxx</script><script xxxx</script><script xxxx</script><script xxxx</script>
<script xxxx</script><script xxxx</script><link xxxx css樣式/><link xxxx css樣式/><link xxxx css樣式/>全是這種的一個 jsp,然后在index.jsp中 include 即可。那么,這種情況在thymeleaf中該如何處理呢?
thymeleaf 中導入html
胡子哥哥
2018-09-03 13:18:44