I was wondering if anybody had problems with using .jspx pages as views in Spring? I'm just using a really simple example to see if I can get it to work:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="str" uri="http://jakarta.apache.org/taglibs/string-1.1" %>
<%@ taglib prefix="spring" uri="/spring" %>
To my knowledge, these two pages should give the same output. But they don't. The .jsp page gives the expected output ("hello"), but the .jspx page gives me an empty page, where I can find <c:out value="hello"/> in the source code. Btw, my url-pattern for the DispatcherServlet in web.xml is "*.htm".
<?xml version="1.0" encoding="ISO-8859-1"?>
contentType="text/html; ISO-8859-1" />
Is this expected behaviour from Spring's side? Has anyone seen something similar before and can help me out with a solution? My best bet so far is rewriting about twenty .jspx and.tagx files to "normal" jsp, something that doesn't seem too tempting.