Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up JSTL with Tomcat 5

 
Pally Gharmount
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65111
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic