Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL functions  RSS feed

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I now this topic has been answered a lot of times but I can't get this to work.

I'm using tomcat6 and have added a jstl.jar file that says the following


I can't get functions to work!! Is there a problem. fn not recognized in eclipse.

The jstl.jar does not include the functions lib but the standard.jar does.

I have both in my classpath. What's wrong?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have included little information that's helpful in your post. How does it "not work"? Details!

How have you declared the taglib in your pages? How have you put the jars in the classpath? How are you referencing the functions on the pages?

Details!
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you referring to the built in functions of JSTL 1.1?
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I got it to work at last. All uri url should be java.sun.com/jsp/jstl/ and the functions,core etc. I altso changed the web.xml file and it worked.

It think that the uri messed it up. Had right functions uri but not core and fmt uri.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!