Portal Events is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.
Input a list of comma-delimited class names that extend com.liferay.portal.struts.Action. These classes will run before or after the specified event.
Servlet service event: The pre-service events have an associated error page and will forward to that page if an exception is thrown during execution of the events. The pre-service events process before Struts processes the request.
Examples:
servlet.service.events.pre=com.liferay.portal.events.ServicePreAction servlet.service.events.pre=com.liferay.portal.events.LogMemoryUsageAction,co m.liferay.portal.events.LogThreadCountAction,com.liferay.portal.events.ServicePreAction servlet.service.events.pre=com.liferay.portal.events.LogSessionIdAction,com. liferay.portal.events.ServicePreAction servlet.service.events.pre=com.liferay.portal.events.ServicePreAction,com.li feray.portal.events.RandomLayoutAction servlet.service.events.pre=com.liferay.portal.events.ServicePreAction,com.li feray.portal.events.RandomLookAndFeelAction |
Use the following to define the error page.
servlet.service.events.pre.error.page=/common/error.jsp |
The post-service events process after Struts processes the request.
servlet.service.events.post=com.liferay.portal.events.ServicePostAction |