• Post Reply Bookmark Topic Watch Topic
  • New Topic

Links for Downloading JSTL 1.2.jar and all the TLDs

 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65518
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65518
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What more is there to explain? Get the jar file, drop it into WEB-INF/lib, and you're ready.
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Avi.
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepaks Deshpande wrote:Thank you Avi.


you're welcome

avi sinha
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65518
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Bear.Its clear now.
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may help you,
http://faq.javaranch.com/java/JstlTagLibDefinitions
 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may also help you

http://faq.javaranch.com/java/SetupJstlForJsp2
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!