Skip to main content

Problems When adding jsf taglib

1 reply [Last post]
Joined: 2006-08-20


I'm developing an application with this configuration:

Jboss 4.2.2 GA
Tiles 2

When I try to add the taglibs like this:

<%@ taglib uri="/WEB-INF/html_basic" prefix="h"%>
<%@ taglib uri="/WEB-INF/jsf_core" prefix="f"%>

I got no render; viewing the source code, only render the tag. But if I try deleting the taglib reference, try to renders but throw an exception:

org.apache.jasper.JasperException: /test/test.jsp(6,34) #{..} is not allowed in template text.

Obviously because can't recognize the tags.

Pleas help. I'm very frustrated with this !!!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-08-21

The taglib imports should be:

<%@ taglib uri="" prefix="h" %>
<%@ taglib uri="" prefix="f" %>