[ 
https://issues.apache.org/struts/browse/WW-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46919#action_46919
 ] 

j2 commented on WW-2266:
------------------------

I got the same problem too.

I change to "response.setContentLength(output.length+100)", and exception is 
gone too.
But the output is not printed. 
Why it works in tomcat, but not in was6.1.

It looks like that contentLength doesn't match the real length of content.
Or  response is closed too early.

> JasperReports plugin with Websphere 
> ------------------------------------
>
>                 Key: WW-2266
>                 URL: https://issues.apache.org/struts/browse/WW-2266
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JasperReports
>    Affects Versions: 2.0.9
>         Environment: WAS 6.1 , Windows XP
>            Reporter: J Alex
>             Fix For: Future
>
>
> While trying to use the Struts2-JasperReports plugin, i'm getting an error. 
> The Action class, struts.xml, jrxml file is attached.
> Also attached is the JasperReportsIntro.java file used for generating the 
> compiled file : jasper_compiled.jasper from jasperreports_demo.jrxml
> The stack traces are attached for HTML and PDF formats ; both of them give 
> "com.ibm.ws.webcontainer.srt.WriteBeyondContentLengthException"
> Please confirm if this is a bug on Websphere or something missing in the code.
> Thanks,
> Joseph

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to