我想在joinFaces项目中使用@Join注释。如果可能,配置和使用它的步骤是什么?
我使用的是带有rewrite-spring-boot-starter的joinFaces 3.2.4。
发布于 2018-10-23 13:07:55
实际上,我发现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>https://stackoverflow.com/questions/51859630
复制相似问题