-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hello
ZK SpringBoot 2.5.3, zkspringboot-demo-jar project, zhtml extension is not working.
I have placed my .zhtml in the resources/web/zul website where the .zul files are. I have created the following mapping (in the DemoApplication.java file):
@GetMapping("/html")
public String htmlExample() {
return "html";
}
Why is not picking it?
the demo application.properties files shows:
zk.zul-view-resolver-prefix=/zul
How do we use in Springboot demo project zhtml files?
thanks!
2 | No.2 Revision |
Hello
ZK SpringBoot 2.5.3, zkspringboot-demo-jar project, zhtml extension is not working.
I have placed my .zhtml in the resources/web/zul website where the .zul files are. I have created the following mapping (in the DemoApplication.java file):
@GetMapping("/html")
public String htmlExample() {
return "html";
}
Why is not picking it?
the demo application.properties files shows:
zk.zul-view-resolver-prefix=/zul
How do we use in Springboot demo project zhtml files?
thanks!
Update with more data: I run the server with:
./mvnw clean package -DskipTests;
./mvnw spring-boot:run
Maybe this is a limitation due the current implementation, and only will work using a .war in a webserver instead of running the .jar (with embedded tomcat):
Can anybody help me? Thanks!