Forums Register Login

Links for Downloading JSTL 1.2.jar and all the TLDs

+Pie Number of slices to send: Send
Hi,

can anybody give me the links to download the jstl1.2.jar and the related TLDs like c.tld,sql,tld,fmt.tld ...etc ?

Also please tell me what is rt in the c-rt.tld,fmt-rt.tld....etc files.

Also my tlds declared in the JSps work correctly only if i write the uri as http://java.sun.com/jstl/core_rt..

Please help. I am new to JSTL.

Thanks
+Pie Number of slices to send: Send
Hi Deepak, I am also new to JSTL. I cannot explain you in detail about what are those, but I can show you the path to learn it and download all required jar files and tld files. In fact we also can create our own tld files and tag libraries. Once check this out.

click here. http://www.java2s.com/Tutorial/Java/0380__JSTL/Catalog0380__JSTL.htm
+Pie Number of slices to send: Send
All you need is the jstl 1.2 jar file. You do not need separate tld files.

"-rt" is only relevant for JSTL 1.0.
+Pie Number of slices to send: Send
 

Bear Bibeault wrote:All you need is the jstl 1.2 jar file. You do not need separate tld files.

"-rt" is only relevant for JSTL 1.0.



Hi Bibeault, Please can you explain it in detail, I am also new to JSTL.
+Pie Number of slices to send: Send
What more is there to explain? Get the jar file, drop it into WEB-INF/lib, and you're ready.
+Pie Number of slices to send: Send
Thanks Anusha and Bibeault,

But can you people throw some light on the uri declaration problem that i just mentioned in my post?.

The uri that works for me is " http://java.sun.com/jstl/core_rt ? " But everywhere it is mentioned the uri declaration to be " http://java.sun.com/jstl/core ". Is the uri " http://java.sun.com/jstl/core_rt " also correct ?
+Pie Number of slices to send: Send
 

Bear Bibeault wrote:What more is there to explain? Get the jar file, drop it into WEB-INF/lib, and you're ready.



Sir, are you saying that I do not need any of the tld files?
+Pie Number of slices to send: Send
 

anusha chaitanya wrote:

Bear Bibeault wrote:What more is there to explain? Get the jar file, drop it into WEB-INF/lib, and you're ready.



Sir, are you saying that I do not need any of the tld files?



He is talking about jsp core tags (" with prefix c") . to use them you just need to put jstl jar file in WEB-INF/lib directory. for everything else like your own customized tags created by extending TagSupport or SimpleTagSupport you will have to create your own tlds.

also in tomcat two files are available in examples : jstl.jar & standard.jar. i am not sure about the version. check that.

avi sinha
+Pie Number of slices to send: Send
Thank you Avi.
+Pie Number of slices to send: Send
 

Deepaks Deshpande wrote:Thank you Avi.



you're welcome

avi sinha
+Pie Number of slices to send: Send
Correct -- no tld files! They're inside the jar and the container will find them there.

And no -rt URI! That's for the JSTL 1.0!

Look up the correct URI for the JSTL 1.2.
+Pie Number of slices to send: Send
Thank you very much Bear.Its clear now.
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 26787 times.
Similar Threads
working with JSTL
JSTL version causing exceptions?
JSTL problem
Error while executing JSTL
isScriptingEnabled dircetive problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:36:57.