Wednesday, January 7, 2009

How to Fix the Error: "The requested resource (/(portlet name)/WEB-INF/servlet/view) is not available"

I searched all over looking for what could be causing the portlet I was developing to display the error: "The requested resource (/(portlet name)/WEB-INF/servlet/view) is not available". The solution was that the following was missing from the WEB-INF/web.xml so it had to be added in:
    <servlet-mapping>
        <servlet-name>ViewRendererServlet</servlet-name>
        <url-pattern>/WEB-INF/servlet/view</url-pattern>
    </servlet-mapping>

No comments: