struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Dre├čler <to...@terragate.net>
Subject trouble with taglibs in xml syntax
Date Mon, 03 May 2004 13:42:29 GMT
Hi!
I have problems to use the struts taglibs in jsp with xml syntax.

When I use
   <%@ taglib uri="/WEB-INF/tags/struts-bean.tld" prefix="bean" %>
the generated servlet contains the line
'_jspx_dependants.add("/WEB-INF/tags/struts-bean.tld")'
and everything is ok.

But with the following syntax the line
'_jspx_dependants.add("/WEB-INF/tags/struts-bean.tld")' disappeare
   <?xml version="1.0" encoding="UTF-8"?>

   <jsp:root version="1.2"
       xmlns:jsp="http://java.sun.com/JSP/Page"
       xmlns:c="http://java.sun.com/jsp/jstl/core"
       xmlns:bean="/WEB-INF/tags/struts-bean.tld">
           [...]

   </jsp:root>

I use Apache Tomcat/5.0.18 and I have modifyed my web.xml:

   <web-app 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" version="2.4">
       [...]
   </web-app>


Any Idea?

Tomek





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message