Laliwala IT Services

Laliwala IT Services
Website Development

Thursday, February 24, 2011

multiple browser, how browser starts automatically, lifeary basic, liferay launche, liferay application, liferay use, liferay runtime

Sandeep Nair : 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






Mazhar Anwar : 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






Sandeep Nair : aah i see the code now.Basically a thread being launched which opens application using java.lang.Runtime. thanks friend.








Regards,

Sandeep

No comments:

Post a Comment