您的位置:首页 > 大数据 > 人工智能

GlassFish 设置domain的默认应用(通过ip:port访问)

2014-12-04 10:29 417 查看
Option 1:

You can set one of your webapps as default. This can be done with the admin console:

Configuration --> sever-config --> virtual-server --> server

Then select your default web application from the drop-down menu. If your webserver port is 8080, you can start your application now by:

http://hostname:8080

instead of http://hostname:8080/webapp

Option 2:

You could also deploy your default webapp to "/" instead of "/webapp" but I think the first option is more flexible.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: