I have deployed a custom portlet and when the portlet invokes the Jsp, it gives
error -
java.lang.IllegalStateException: No content type defined
at
org.jboss.portal.server.output.FragmentResult.getWriter(FragmentResult.java:93)
at
org.jboss.portal.portlet.impl.RenderResponseImpl.getWriter(RenderResponseImpl.java:81)
at
org.jboss.portal.portlet.impl.DispatchedHttpServletResponse.getWriter(DispatchedHttpServletResponse.java:118)
at
javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111)
at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)
at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:325)
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:336)
at
org.apache.jsp.jsp.dashboardmain_jsp._jspService(org.apache.jsp.jsp.dashboardmain_jsp:244)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
............
Can you tell me how the content type is set in the class FragmentResult as it
is null in that class. ?.
I guess, the portlet/jsp as such are ok, since it was working well on another
portal and i am trying to move it to jboss portal. Any one had similar issues
?. Any thing to do with the xml descriptor definitions for the portlet ?
eg - in -pages.xml, --<portal-name>default</portal-name>)--
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883084#3883084
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883084
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user