I currently have a welcome page that requires an action be
done to grab announcements from the db.  On my welcome page,
"index.jsp", I have:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<logic:forward name="homepage"/>

Under struts-config.xml's global fowards, I have:
<forward   name="homepage"             path="/homepage.do"/>

And under struts-config-xml's action-mappings I have:
<action    path="/homepage"
       type="blitzDev.AnnouncementAction"
       name="announcementForm"
       scope="request"
       input="/home.jsp">
      <forward name="success" path="/home.jsp"/>
</action>

When I hit my homepage, it loads fine but I find this in the
log file:
StandardWrapperValve[jsp]: Servlet.service() for servlet jsp
threw exception
java.lang.IllegalStateException
 at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:159)

 at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166)

 at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:158)

 at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:205)

 at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:176)

 at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:198)

 at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:193)

 at org.apache.jsp.index$jsp._jspService(index$jsp.java:89)
 at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)

This only happens with the forwarding.  Anyone know how I
can fix this?

Calvin


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to