Revision history [back]

click to hide/show revision 1
initial version

answered 2023-01-09 21:43:07 +0800

hawk gravatar image hawk

http://hawkphoenix.blogsp... ZK Team

If the packaging is jar, there is no context folder, so you need to put zul under src/main/resources/web. We follow spring boot's way.

But if the package is war, then you should put zul files under src/main/webapp (Java EE specification). To load a file in src/main/resources/web with this packaging, please refer to Classpath Web Resource Path.

If the packaging is jar, there is no context folder, so you need to put zul under src/main/resources/web. We follow spring boot's way.

But if the package is war, then you should put zul files under src/main/webapp (Java EE specification). To load a file in src/main/resources/web with this packaging, please refer to Classpath Web Resource Path.. By default, there is no way to directly visit a zul under Classpath Web Resource Path.

If the packaging is jar, there is no context folder, so you need to put zul under src/main/resources/web. We follow spring boot's way.

But if the package is war, then you should put zul files under src/main/webapp (Java EE specification). To load a file in src/main/resources/web with this packaging, please refer to Classpath Web Resource Path. By default, there is no way to directly visit a zul under Classpath Web Resource Path.Path with a browser.

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