> {quote:title=Ardonel_Henco_Suinge wrote:}{quote}
> Hello!
> I desperately need you help. I am writing a simple Struts JSR 168 Portlet. And I'm getting this error: javax.servlet.jsp.JspException: Exception forwarding for name welcome: javax.servlet.ServletException: com.ibm.ws.portletcontainer.core.rd.impl.IncludedServletRequestImpl incompatible with javax.portlet.RenderRequest
> uri="http://java.sun.com/portlet "prefix="portletx"%>
> <logic:forward name="welcome"/>
> I've seen this thread:
Problem migrating struts portlet from WPS 6.0 to WPS 6.1swf to avi. but it didn't help and it's the only (!!!) link in the whole Internet dedicated to that problem.
> struts-config.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
> <struts-config>
>
> <data-sources>
> </data-sources>
>
> <form-beans>
> <form-bean name="viewBean"
> type="by.iba.myfirstjsr168struts.ViewBean">
> </form-bean>
> </form-beans>
>
> <global-exceptions>
> </global-exceptions>
>
> <global-forwards>
> <forward name="welcome" path="/welcome.do">
> </forward>
> </global-forwards>
>
> <action-mappings>
> <action name="viewBean" path="/welcome" scope="request"
> type="by.iba.myfirstjsr168struts.actions.Action">
> <forward name="configured" path="/configured.jsp">
> </forward>
> <forward name="notConfigured" path="/notConfigured.jsp">
> </forward>
> </action>
> </action-mappings>
> <!--Controller-->
> <controller processorClass="com.ibm.portal.struts.portlet.WpRequestProcessor">
> </controller>
>
>
> <message-resources parameter="myfirstjsr168struts.nl.resources.ApplicationResources"/>
> </struts-config>
> index.jsp:
>
> <%@page
> language="java" contentType="text/html; charset=ISO-8859-1"
> pageEncoding="ISO-8859-1"%>
> <%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%><%@taglib
> uri="http://java.sun.com/portlet" prefix="portlet"%><%@taglib
> uri="http://struts.apache.org/tags-html" prefix="html"%><%@taglib
> uri="http://struts.apache.org/tags-bean" prefix="bean"%><%@taglib
> uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portlet-client-model"
> prefix="portlet-client-model"%><%@taglib>
i've the same problem this part of code really helps, thanks!