Anonymous | Login | Signup for a new account | 12-17-2024 08:57 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 | ||||
0000889 | [Resin] | tweak | always | 01-20-06 03:17 | 04-07-06 13:18 | ||||
Reporter | anonymous | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.17 | ||||||
Summary | 0000889: Resin JSTL /Xalan / Xerces | ||||||||
Description |
Example JSP code Use of xerces w/ resin fast-jstl results in erronous output; x:out prints nothing. [code] <%-- -------------------------- [ index.jsp ]------------ --%> <%@ page contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %> <%@ taglib uri="http://java.sun.com/jstl/xml" [^] prefix="x" %> <x:parse var="doc" scope="request"> <favorites> <link name="Site 1" site="http://www.example.com/site1" [^] /> <link name="Site 2" site="http://www.example.com/site2" [^] /> </favorites> </x:parse> <html> <head> <title>Test Application</title> </head> <body> <ol type="1"> <x:forEach var="element" select="$doc/favorites/link"> <a href="<x:out select="$element/@url" />”> <x:out select="string($element/@name)" /> </a> </x:forEach> </body> </html> <%-- -------------------------- [ end index.jsp ]------------ --%> [/code] |
||||||||
Additional Information |
Disabling fast-jstl, by creating the resin-web.xml -file in the web-application's WEB-INF folder, with the following content fixes the problem; [code] <!-- WEB-INF/resin-web.xml --> <web-app id="/testapp"> <jsp fast-jstl="false"/> </web-app> [/code] |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |