1. Importing external class files inside a JSP page coderanch.comHi This is the exception I am getting when i try to run it in the test environment. [4/29/08 1:33:17:515 EDT] cd992db PortalServer E com.ibm.wps.engine.tags.PortletRenderTag doStartTag TRAS0014I: The following exception was logged javax.portlet.PortletException at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:133) at com.ibm.faces.context.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:445) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295) at com.ibm.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:68) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:217) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at com.ibm.faces.webapp.FacesGenericPortlet.doRender(FacesGenericPortlet.java:347) at com.ibm.faces.webapp.FacesGenericPortlet.doView(FacesGenericPortlet.java:378) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) at com.ibm.faces.webapp.FacesGenericPortlet.doDispatch(FacesGenericPortlet.java:293) at javax.portlet.GenericPortlet.render(GenericPortlet.java:163) at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144) at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131) ... |
2. Importing init.jsp from Custom portlets liferay.com |
3. EXT Plugin: Importing a custom class into a portlet JSP liferay.comI have a special exception class that I created and added to a package under ext-impl/src and I have a JSP that imports that class, as follows: <%@ page import="com.xxx.liferay.ext.exception.UserQcguidException" %> Later, I attempt to capture this special exception to show a custom error message as follows: |