Wednesday, December 1, 2010

------For Liferay portlet users only--------------
If we want to change the root context to any new context then we need to follow the following steps.

To change the context of applicaion from ROOT to :

*Override the portal.ctx property in portal-ext.properties to point to your-.

*Override the path property in portal-ext.properties as given default.landing.page.path=/new_context/web/guest/home

*Rename the config file in conf/catalina/localhost to your"new_context.xml".

*Renaming webapps/ROOT directory to webapps/new_context