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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to