wood burning stoves 2.0*
The moose likes Tomcat and the fly likes JSTL with Tomcat 6? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JSTL with Tomcat 6?" Watch "JSTL with Tomcat 6?" New topic
Author

JSTL with Tomcat 6?

Ed Carrington
Ranch Hand

Joined: Oct 11, 2007
Posts: 77
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 ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
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

Joined: Oct 11, 2007
Posts: 77

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
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

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

Joined: Oct 11, 2007
Posts: 77
Thank you
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSTL with Tomcat 6?
 
Similar Threads
Tomcat 6
Indian Market!!! oopssssssss going down
JSTL and EL
EL and custom tag
jar problem : arguments with spaces