Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000298 [Resin] minor always 07-07-05 00:00 11-30-05 14:43
Reporter user273 View Status public  
Assigned To
Priority urgent Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000298: Resin doesn't deal with <jsp:directive.include under jspx file
Description RSN-337
I have following code:
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" 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-app_2_4.xsd"> [^]
    <welcome-file-list>
        <welcome-file>
            test.jspx
        </welcome-file>
    </welcome-file-list>

    <jsp-config>
        <jsp-property-group>
            <url-pattern>*.jspx</url-pattern>
            <is-xml>true</is-xml>
        </jsp-property-group>
    </jsp-config>

</web-app>
**********************************************
test.jspx:
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" [^] version="2.0">
    <jsp:output omit-xml-declaration="false"/>
<test>
    <jsp:directive.include file="/testFragment.jspf" />
</test>
</jsp:root>
*********************************************
testFragment.jspf:
<doc>Ok</doc>




Result:
<?xml version="1.0" encoding="UTF-8"?>
<test></test>

Expected:
<?xml version="1.0" encoding="UTF-8"?>
<test><doc>Ok</doc></test>
Additional Information Java Version 1.4.2_08
Attached Files

- Relationships

- Notes
(0000336)
ferg
07-07-05 00:00

jsp/0310
 
(0000337)
user273
07-07-05 00:00

Thanks a lot
 

- Issue History
Date Modified Username Field Change
07-07-05 00:00 user273 New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:43 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker