问题描述
在用于BaseX的Docker container中,我可以在哪里放置foo.html
以便Jetty serve将该页面放置?
bash-4.4#
bash-4.4# whoami
root
bash-4.4#
bash-4.4# pwd
/srv/basex/webapp/WEB-INF
bash-4.4#
bash-4.4# ls
data foo.html jetty.xml repo web.xml
bash-4.4#
bash-4.4# cat foo.html
<html>
<header><title>This is title</title></header>
<body>
Hello world
</body>
</html>
bash-4.4#
bash-4.4# head web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
<display-name>BaseX: The XML Database and XQuery Processor</display-name>
<description>HTTP Services</description>
bash-4.4#
而且,在哪里找到foo.html
的预期URL是什么?
我需要先授予权限吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)