Malla:
According to the API (RequestDispatcher):
<quote>
forward should be called before the response has been committed to the client (before
response
body output has been
flushed). If the response already has been committed, this method throws an
IllegalStateException.
</quote>
Since you have not posted any code, I am guessing maybe you have committed your
response
before your call to forward..?
Geeta
Malla c wrote:
> Hi,
>
> I am working upload and download application. My application is working fine
> in jswdk-1.0.1.
>
> When I move my application to JRUN under linux environment, and when I click
> the download button to download the file from server's root directory I
> am getting Jrun Error like this..
>
> I stuck here.. Please any one help me to solve this error.. I will thankful
> to u.
>
> Thanks,
> Malla Reddy Choodi
>
> /myapp/demo/smart/download.jsp:
>
> null
> java.lang.IllegalStateException
> at allaire.jrun.servlet.JRunResponse.getOutputStream(JRunResponse.java:294)
> at com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:579)
> at com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:508)
> at
>
>jrun__demo__smart__download2ejsp18._jspService(jrun__demo__smart__download2ejsp18.java:60)
> 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:175)
> 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.java:88)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html