• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSTL with Tomcat 6?

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does Tomcat 6.0.16 come with that wasnt included in earlier versions?

I think with Tomcat 5 and up we got EL so I would think newer version (6.0.16) would include JSTL?

[ April 10, 2008: Message edited by: Ed Carrington ]
[ April 10, 2008: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm still on Tomcat 5.5, so I don't know what Tomcat 6 includes or not. But if it doesn't have the JSTL pre-installed, it's not hard to drop two jar files into the lib folder.
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
6.0.14 does not.

You might take a look at JSTL Intro to get started.

Or other places. That may be old.

Guy
[ April 10, 2008: Message edited by: Guy Allard ]
 
Ed Carrington
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


it's not hard to drop two jar files into the lib folder.



Thanks for the feedback. Do you recommend putting the two JSTL jar files in the main Tomcat lib folder (Tomcat6Home\common\lib) or should I put it in each web app. For example this could be one of my webapps locatoin where I would put the two jar files: Tomcat6Home\webapps\JavaIsFunWebApp\WEB-INF\lib ?
[ April 12, 2008: Message edited by: Ed Carrington ]
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If all the web apps to be served by the container instance are going to use the same version of JSTL, it's fine to place them in the common area. If the web apps need to be independent, then the jars should be placed within the WEB-INF/lib of each context.
 
Ed Carrington
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you
 
Space pants. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic