| Mantis - Resin | |||||
| Viewing Issue Advanced Details | |||||
|  | |||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | 
| 864 | minor | always | 01-14-06 06:49 | 02-01-06 13:55 | |
|  | |||||
| Reporter: | agrebnev | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.0.15 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.0.18 | ||
|  | |||||
| Summary: | 0000864: Bug with encoding of include inside JSP2.0 | ||||
| Description: | I have the following JSP2.0 tag public class JSP20Tag extends SimpleTagSupport { public void doTag() throws JspException, IOException { //... // invoke body content JspFragment body = getJspBody(); String bodyContent = null; if ( body != null ) { StringWriter sw = new StringWriter(); body.invoke(sw); bodyContent = sw.toString(); } //... } } If inside this tag I have some jsp:include, the encoding of the include is incorrect (all non-ASCII symbols are broken). This behaviour is ONLY in case of using body.invoke with my own StringWriter. In case of using body.invoke(null) it is OK. -- Andrey Grebnev http://www.jroller.com/page/agrebnev [^] | ||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||