我想在joinFaces项目中使用@Join批注。 如果可能,如何配置和使用它?
我正在将joinFaces 3.2.4与rewrite-spring-boot-starter一起使用。
答案 0 :(得分:-1)
实际上,我在JSF本身的链接上找到了非常漂亮的解决方案
页面重定向
希望是有用的
https://www.codenotfound.com/jsf-welcome-page-redirect-example-spring-boot.html
我花了很多时间在Spring Boot上没有希望,但是如果你想
您需要添加此依赖项
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-servlet</artifactId>
<version>3.4.2.Final</version>
</dependency>
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-integration-faces</artifactId>
<version>3.4.2.Final</version>
</dependency>
<dependency>
<groupId>org.ocpsoft.rewrite</groupId>
<artifactId>rewrite-config-prettyfaces</artifactId>
<version>3.4.2.Final</version>
</dependency>