Revision history [back]

click to hide/show revision 1
initial version

asked 2021-08-26 22:40:04 +0800

franferri gravatar image franferri

ZK SpringBoot 2.5.3, zkspringboot-demo-jar project, zhtml extension is not working.

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!

ZK SpringBoot 2.5.3, zkspringboot-demo-jar project, zhtml extension is not working.

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!

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More