• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jstl tag library

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put jstl tag library in the lib directory of the web-inf.
but it still gives error in my jsp?
where to put jstl tag library?
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Just right click to JSTL library and select Add to configure build path after that it add to Reference library.

If it is from the starting in the Reference library then just recompile your code.

 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You need to check for this in your web.xml



and on your jsp

 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,



above code compulsory written at jsp page .........

but in web.xml it is not mandatory...


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DO NOT put any declarations in your web.xml -- they are not necessary and just get in the way.

Have you followed the directions in the JSP FAQ on configuring the JSTL? Depending upon which version you are using, there may be two jar files that you need.

And by the way, your post is lacking in many details. Please read this and this for more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic