As far as I can tell the <taglib-location> for the fn taglib should probably be: /WEB-INF/fn.tld

If fn.tld isn't in the WEB-INF of your webapp you should probably do a search on your filesystem for the file and copy it into your WEB-INF. It should be present *somewhere* on your system, most likely in the place you originally obtained c.tld (and the other JSTL tld files) from.

The taglib-uri in your web.xml and the uri in your <%@ taglib %> statements have to match up and can be an ything you want (it's just a unique specifier), I think sun just recommend using their http://java.sun.com/jsp/jstl/functions urls, so that someone coming to your jsps later can look at your <%@ taglib %> statements and immediately realise "Ah, he's using the jstl functions" rather than some fn.tld that you have written yourself. (I might have this wrong tho' I'm still mainly a jsp 1.2 person)

Muz

On 3 Aug 2005, at 10:52, Marius Botha wrote:

2. Included FN taglib in my web.xml file as I do with the other ones I use:
  <taglib>
    <taglib-uri>/tags/fn</taglib-uri>

<taglib-location>http://java.sun.com/jsp/jstl/functions</taglib- location>
  </taglib>
  <taglib>
    <taglib-uri>/tags/jstl-core</taglib-uri>
    <taglib-location>/WEB-INF/c.tld</taglib-location>
  </taglib>


--
Murray Steele
Senior Developer

Peoples Archive
w: http://www.peoplesarchive.com
t: 0207 323 0323
d: 0207 631 9147

This email has been scanned by Postini.
For more information please visit http://www.postini.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to