Foren
Curious - how browser starts automatically
Sandeep Nair, geändert vor 14 Jahren.
Curious - how browser starts automatically
Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
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
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
Mazhar Anwar, geändert vor 14 Jahren.
RE: Curious - how browser starts automatically
Regular Member Beiträge: 125 Beitrittsdatum: 05.02.10 Neueste Beiträge
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.
Regards,
Mazhar
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
Sandeep Nair, geändert vor 14 Jahren.
RE: Curious - how browser starts automatically
Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
aah i see the code now.Basically a thread being launched which opens application using java.lang.Runtime. thanks friend.
Regards,
Sandeep
Regards,
Sandeep