大家好,谁对 glassfish 非常熟悉,我想知道 部署完成 glassfish 后,http://localhost:8080 显示的 是 doc目录下
的 index.html 页面 ,这个页面 是glassfish 中 那个jar 包 或者 哪些文件给动态生成的?
谢谢
[color=blue][b]
你说的是glassfish\docs\index.html ?
这其中的某些信息是类似:
%%%DOMAIN_NAME%%% 形式的
而你看到的index.html是被替换为相应值的index.html。
所以,你以为它是动态生成的?
其实不然:[/b][/color]
[b]glassfish\domains\domain1\docroot\index.html[/b]
[color=blue][b]
这个才是你看到的网页。
记得你启动的脚本不?
[/b][/color]
[code="java"]asadmin start-domain domain1[/code]
[color=blue]
[b]你在这个时候,指定了web的目录。[/b][/color]
[b]PS: 上述是以 domain1 为例的,根据实际情况,可能为其他名字。[/b]
应该是这个目录的,docroot\index.html
如果你的系统是windows,index.html是详细目录为
...\glassfish\domains\domain1\docroot\