Anonymous | Login | Signup for a new account | 12-12-2024 19:47 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001281 | [Resin] | major | always | 08-10-06 06:46 | 08-21-06 09:01 | ||||
Reporter | slonopotamus | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.20 | ||||||
Summary | 0001281: void EL functions with String argument produce garbage output | ||||||||
Description |
Affected versions: 3.0.14, 3.0.19, 3.0.20 Expected: empty <body></body> tag. Actual: garbage character (usually character with code 0) between <body> and </body> |
||||||||
Additional Information |
To reproduce: deploy attached JAR-file to Resin and open index.jspx. Source of ru.hh.resin.elbug.Functions.java: package ru.hh.resin.elbug; public class Functions { public static void doNothingVoid (final String var) { } } Source of index.jspx: <?xml version="1.0" encoding="UTF-8"?> <jsp:root xmlns:tags="urn:jsptld:/WEB-INF/tags.tld" xmlns:jsp="http://java.sun.com/JSP/Page" [^] xmlns="http://www.w3.org/1999/xhtml" [^] version="2.0"> <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" /> <html> <body>${tags:doNothing("teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeest")}</body> </html> </jsp:root> Source of tags.tld: <?xml version="1.0" encoding="UTF-8" ?> <taglib xmlns="http://java.sun.com/xml/ns/j2ee" [^] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^] xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee [^] http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" [^] version="2.0"> <tlib-version>2.0</tlib-version> <short-name>tags</short-name> <function> <name>doNothing</name> <function-class>ru.hh.resin.elbug.Functions</function-class> <function-signature>void doNothingVoid(java.lang.String)</function-signature> </function> </taglib> |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |