Skip to main content

developerWorks >  WebSphere  >  Forums  >  WebSphere Portal  >  developerWorks

IncludedServletRequestImpl incompatible with RenderRequest    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 2 - Pages: 1 - Last Post: Nov 12, 2009 6:48 AM Last Post By: BlitheTC
Ardonel_Henco_S...

Posts: 3
Registered: Nov 20, 2008 06:47:53 AM
IncludedServletRequestImpl incompatible with RenderRequest
Posted: Nov 27, 2008 10:17:07 AM
 
Click to report abuse...   Click to reply to this thread Reply
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

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
	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.1 but it didn't help and it's the only (!!!) link in the whole Internet dedicated to that problem.
Milton2

Posts: 14
Registered: Nov 14, 2008 05:46:41 AM
Re: IncludedServletRequestImpl incompatible with RenderRequest
Posted: Dec 20, 2008 09:55:56 AM   in response to: Ardonel_Henco_Suinge in response to: Ardonel_Henco_Suinge's post
 
Click to report abuse...   Click to reply to this thread Reply
The answer is here
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=226355
BlitheTC

Posts: 2
Registered: Nov 12, 2009 05:58:54 AM
Re: IncludedServletRequestImpl incompatible with RenderRequest
Posted: Nov 12, 2009 06:48:12 AM   in response to: Ardonel_Henco_Suinge in response to: Ardonel_Henco_Suinge's post
 
Click to report abuse...   Click to reply to this thread Reply
> {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!

 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums