Taglibs

0 respostas
K

Por favor , alguém pode me dar umas dicas como fazer para habilitar as taglibs em meu projeto?

Coloquei os jar’s standard e jstl na pasta WEB-INF/lib

Meus tlds estão em WEB-INF

Dentro de WebContent tem uma pasta pages

Em minhas jsp chamo assim:

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

meu web.xml

dentro de web-apps:

<taglib>
    <taglib-uri>/WEB-INF/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-htm</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>/WEB-INF/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
  </taglib>

porque quando escrevo html: e aperto control+ space ele não me mostra as opções de meus tld’s?

por favor.

Criado 22 de junho de 2009
Respostas 0
Participantes 1