Legolas Woodland wrote:
Hi
Thank you for reading my post.
Can some one please help me to add a taglib to my jsf page ?
Im using Creator 2 EA 2 , I add all jar files to its build path and also to web-inf/lib
now when i add the taglib definition to a page it say :
The markup in the document preceeding the root element must be well formed

Here is how i add the taglib which IDE return the above error :
*Image 1*


now if i move the taglib definition after Root element it say :
*Image2*

Is it a problem regard to Chart Creator tag lib , or JSF has its own method of declaring taglib uri ?

You're trying to mix JSP syntax and XML syntax. You should be declaring the taglib with the XML namespace (xmlns) syntax, the same way the other taglibs are already referenced:

  <jsp:root ... xmlns:c="http://some/url";>

where 'http://some/url' is whatever URL is defined in the TLD file.

L.

Reply via email to