This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSP and the fly likes Setting up JSTL with Tomcat 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Setting up JSTL with Tomcat 5" Watch "Setting up JSTL with Tomcat 5" New topic
Author

Setting up JSTL with Tomcat 5

Pally Gharmount
Ranch Hand

Joined: Aug 25, 2004
Posts: 34
I am trying to setup JSTL jakarta-taglibs-standard-1.1.0-B1 with Tomcat5.

I am running Windows XP with Tomcat 5 and Java jdk 1.4.2_06

I wish to place the JSTL in the Tomcat shared directory.

E:\Java\Tomcat5\shared\lib\standard.jar
E:\Java\Tomcat5\shared\lib\jstl.jar
E:\Java\Tomcat5\shared\tld\...

How ever my application is sitting in a different folder, I have done this in this way so that future aplpications can sit anywhere and share the JSTL files in the Tomcat shared folder.

E:\BGS_Projects\Java\Web\MnQ

The exact cause of the problem is in the index.jsp

E:\BGS_Projects\Java\Web\MnQ\index.jsp

****
i get the following error

exception: org.apache.jasper.JasperException: File "/shared/WEB-INF/tld/c.tld" not found
****

Please not i do not wish to store the JSTL stuff in E:\BGS_Projects\Java\Web\MnQ\WEB-INF\
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61448
    
  67

File "/shared/WEB-INF/tld/c.tld" not found
****


Why are you pulling the c.tld file out specifically rather than just letting the container auto-discover the tld file that's in the standard.jar file?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Setting up JSTL with Tomcat 5