Fórum
Curious - how browser starts automatically
Sandeep Nair, modificado 14 Anos atrás.
Curious - how browser starts automatically
Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
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, modificado 14 Anos atrás.
RE: Curious - how browser starts automatically
Regular Member Postagens: 125 Data de Entrada: 05/02/10 Postagens Recentes
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, modificado 14 Anos atrás.
RE: Curious - how browser starts automatically
Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
aah i see the code now.Basically a thread being launched which opens application using java.lang.Runtime. thanks friend.
Regards,
Sandeep
Regards,
Sandeep