Could you add full support for .jspx, .tagx files and EL functions? An example of all three files is below:
<?xml version=”1.0″ encoding=”iso-8859-1″ ?>
<!–
example.jspx
–>
<html
xmlns=”http://www.w3.org/1999/xhtml”
xmlns:jsp=”http://java.sun.com/JSP/Page”
xmlns:c=”http://java.sun.com/jstl/core”
xmlns:tools=”http://edwardrayl.com/taglibs/tools”
xmlns:toolstag=”urn:jsptagdir:/WEB-INF/tags”
xml:lang=”en” lang=”en”>
<head>
<title>Document with EL Function and TAGX</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<link href=”/Tools/css/tools.css” media=”screen” rel=”stylesheet” type=”text/css”/>
</head>
<body>
Creation Time = ${tools:millisToDate(pageContext.session.creationTime)}
<toolstag:footer />
</body>
</html>
<!–
footer.tagx
located in WEB-INF/tags
–>
<jsp:root
xmlns:jsp=”http://java.sun.com/JSP/Page”
xmlns:c=”http://java.sun.com/jstl/core”
version=”2.0″
>
<jsp:directive.tag language=”java”/>
<br />
<br />
<hr width=”80%” />
<br />
<div class=”footer”>This is a common footer for all documents</div>
</jsp:root>
/*
* ToolsFunctions.java
* class file is located in WEB-INF/classes/com/edwardrayl
*/
package com.edwardrayl;
import java.util.Date;
public class ToolsFunctions
{
public static java.lang.String millisToDate(long millis) {
return new Date(millis).toString();
}
}