Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

How to use TAGX w/ Tomcat 5.0.7

Ammai.com

2003-08-13


Hi,

I have a JSPX page that uses a tag called xhtmlstrict.tagx. When I
execute the jspx page it doesn't work and Tomcat reports an exception
like this:

org.apache.jasper.JasperException: org.apache.jasper.JasperException:
null(4,15) The prefix "jsp" for element "jsp:doBody" is not bound.

This is what's inside 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>

Everything works fine if the tag is renamed to xhtmlstrict.TAG, but I
want it to be a TAGX file because its being used in a JSP document (JSPX
file).

Any help is greatly appreciated,
Thanks,
Vinu.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.