Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我们可以在springboot中使用groovy模板吗_Groovy_Spring Boot - Fatal编程技术网

我们可以在springboot中使用groovy模板吗

我们可以在springboot中使用groovy模板吗,groovy,spring-boot,Groovy,Spring Boot,我有需要用Spring boot迁移的应用程序。在我的html文件中,我有以下不受thymeleaf支持的代码,那么有没有办法使用相同的html并迁移到spring boot #{if redirectCount && redirectUrl} <meta http-equiv="refresh" content="${redirectCount}; url=${redirectUrl}" /> #{/if} <span cla

我有需要用Spring boot迁移的应用程序。在我的html文件中,我有以下不受thymeleaf支持的代码,那么有没有办法使用相同的html并迁移到spring boot

#{if redirectCount && redirectUrl}
        <meta http-equiv="refresh" content="${redirectCount}; url=${redirectUrl}" />
        #{/if}

<span class="copyright">&{'copyright'}</span>

#{extends 'main.html' /}
#{include '_header.html'/}
#{if redirectCount&&redirectUrl}
#{/if}
&{‘版权}
#{扩展'main.html'/}
#{包括'\u header.html'/}

是的,你可以,我目前正在进行Groovy、Groovy模板和Spring引导的实验。我在一个小应用程序中使用了这种技术:

是的,你可以,我目前正在进行Groovy、Groovy模板和Spring引导的实验。我在一个小应用中使用了这种技术:

我不清楚答案。在我当前的应用程序中,我有所有使用上述附加代码的html文件。。那么,用spring boot迁移这些代码的最佳方法是什么,而不必在UI端做太多的代码更改。有人能帮我找到一个合适的答案吗?答案我不清楚。在我当前的应用程序中,我有所有使用上述附加代码的html文件。。那么,用spring boot迁移这些代码而不在UI端进行太多代码更改的最佳方法是什么呢?有人能提供一个合适的答案吗??