my dog learned polymorphism*
The moose likes JSP and the fly likes jstl tag library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jstl tag library" Watch "jstl tag library" New topic
Author

jstl tag library

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1200
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

Joined: Sep 07, 2008
Posts: 688


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.



Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

You need to check for this in your web.xml



and on your jsp



Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 688


Hi,



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

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


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jstl tag library