掲示板

Curious - how browser starts automatically

thumbnail
14年前 に Sandeep Nair によって更新されました。

Curious - how browser starts automatically

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
Hi,

I am just curious and it may be but silly and very obvious to most you guys/gals, but i want to know as to how when i start tomcat the liferay website opens on it own in new browser?

Regards,
Sandeep
14年前 に Mazhar Anwar によって更新されました。

RE: Curious - how browser starts automatically

Regular Member 投稿: 125 参加年月日: 10/02/05 最新の投稿
Hi Sandeep,

This is defined in Global startup event of portal and you can find the code in GlobalStartupAction.java of portal source.

You can check the following property in portal.properties as well.
browser.launcher.url=http://localhost:8080


Regards,
Mazhar
thumbnail
14年前 に Sandeep Nair によって更新されました。

RE: Curious - how browser starts automatically

Liferay Legend 投稿: 1744 参加年月日: 08/11/06 最新の投稿
aah i see the code now.Basically a thread being launched which opens application using java.lang.Runtime. thanks friend.

Regards,
Sandeep