I have got the answer.  I was using buffering with auto flush set to true.
This causes an illegal state exception if some output has been written to
the client side. Thanks anyway.
Regards,
Raj

----- Original Message -----
From: Raj Kumar Jha
To: JRun-Talk
Sent: Friday, December 01, 2000 3:04 PM
Subject: Forwarding a request to another jsp


Hi,
    When I am using the <jsp:forward page="third.jsp"> tag in my
jsp(second.jsp) , I get an error message. Can anyone suggest what is going
wrong?  Also, the same code is working on the Weblogic Server but not on
JRun 3.0. Any suggestions?
    The full error details are as below :



500 Internal Server Error
/second.jsp:

Response has already been committed
java.lang.IllegalStateException: Response has already been committed
        at
allaire.jrun.servlet.JRunResponse.resetContent(JRunResponse.java:170)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:874)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
        at
allaire.jrun.jsp.JRunPageContext.forward(JRunPageContext.java:333)
        at jrun__second2ejspb._jspService(jrun__second2ejspb.java:65)
        at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34
)
        at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:174)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
        at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
        at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a:88)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
        at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
        at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
        at allaire.jrun.WorkerThread.run(WorkerThread.java:74)

Regards,
Raj





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide
more resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to