I'm using Tomcat 5.0.4 and I think it is the best Tomcat release to date. Everything works fine and it seems faster than the 4.x series.
Anyways, I was testing JSP 2.0 by writing a sample JSP Document (JSPX) and everything worked fine. Then I tried to use a tag file by writing a "xhtmlstrict.tag" file and used it in the JSPX document and everything worked fine again. However, if I change the extension of the .tag to .tagx (so that it is a Tag XML document, just like JSP XML document), Tomcat's giving an exception:
org.apache.jasper.JasperException: null(4,-1) Undeclared prefix in name: "jsp:doBody".
This is what's in the "xhtmlstrict.tagx" file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<jsp:doBody/>
</html>It seems like Tomcat isn't recognizing the "jsp" prefix. Is there any way to fix that?
Thanks, Vinu.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
