[英]Can I simply unzip war file and copy it in my server directory?
这可能是一个简单的问题。 我有一个简单的应用程序,正在使用winstone作为Web服务器进行部署
java -jar winstone-0.9.10.jar --httpPort=8081 --warfile=mywarFile.war
我可以简单地将文件解压缩到war文件中,然后手动将其复制到服务器目录结构中吗? 这样做不起作用,为什么呢? 我还需要做什么?
预先感谢您的任何帮助。
在Winstone页面上, http ://winstone.sourceforge.net:
java -jar target/winstone-0.9.10.jar --webroot=<location of webroot> (+ other options)
- OR -
java -jar target/winstone-0.9.10.jar --warfile=<location of warfile> (+ other options)
- OR -
java -jar target/winstone-0.9.10.jar --webappsDir=<location of webapps directory> (+ other options)
- OR -
java -jar target/winstone-0.9.10.jar --hostsDir=<location of hosts directory> (+ other options)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.