简体   繁体   English

为什么ExtractWars在Jetty 8.1.10中不起作用?

[英]Why doesn't extractWars work in Jetty 8.1.10?

Here is the definition of extractWars: 这是extractWars的定义:

If parameter is true, any packed WAR or zip files are first extracted to a 
temporary directory before being deployed. This is advisable if there are 
uncompiled JSPs in the web apps.

But when I set extractWars to false, my app doesn't work any more. 但是,当我将extractWars设置为false时,我的应用程序将无法再使用。 My app doesn't have any JSP. 我的应用程序没有任何JSP。

What is the failure you get? 你遇到的失败是什么? Typically if you don't extract a war any webapp that attempts direct access to resources as Files is going to fail. 通常,如果您不进行战争,则任何尝试直接访问资源的Web应用程序都将失败,因为文件将失败。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM