是否可以从自定义位置动态加载 ZK 7 主题 jar?

Is it possible to load ZK 7 theme jar dynamicaly from custom location?

我有 ZK 7 主题的 jar。说明说

Using a anchive-based theme in a ZK Application is simple. Simply put the theme jar file inside the WEB-INF/lib folder of your ZK application. During the startup of your application, the new custom theme would be automatically registered, and available to use.

但是,如果我需要注册并设置默认主题,而没有放在WEB-INF/lib中怎么办? 说,我能以某种方式注册主题,该用户可以上传吗?

此致。

只要在类路径上,就可以to register a theme
对于用户上传,我觉得是不可能的。
但这是不可能的。
您允许用户将任何 jar 发送到类路径,并且应用程序加载 运行 jar 中的内容。
如果我有恶意,如果我可以将我的 jar 添加到您的应用程序中,您会觉得明智吗?