Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2004, 06:34 PM
Registered User
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't Run JSTL Outside of Root Folder

Hello,

I can run JSTL in the root folder, but not outside.

If I create a separate folder in webapps, I do what the book tells me:
Create a web-inf folder and in the folder create a class folder and lib folder. In the lib folder I add the standard.jar and jstl.jar files. I have done nothing else with the tld files and did not create a web.xml file.

I have tried copying the web.xml files from the Root folder and added tablib tags pointing to the location of the tlds:

<taglib>
  <taglib-uri>/jstl-c</taglib-uri>
  <taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>

but it doesn't work.

Any help would be appreciated.

Thanks,

Mark
 
Old October 13th, 2004, 07:06 PM
Registered User
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Forgot to identify my system:

I'm using Tomcat 5.0.28, J2SE (j2sdk-1_4_2_05-windows-i586-p.exe) and JSTL (jakarta-taglibs-standard-1.1.1.zip) on a Win98 system.

-- Mark





Similar Threads
Thread Thread Starter Forum Replies Last Post
how set Attribute of Folder at Run Time Rahul Gupta Pro VB 6 2 October 17th, 2007 11:55 PM
How to play mp3 file stored outside root folder nocturn ASP.NET 2.0 Professional 0 October 26th, 2006 10:31 AM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
Copying folder at run time Baby_programmer ASP.NET 1.0 and 1.1 Basics 3 October 7th, 2004 09:51 PM
.htaccess file in root folder hopenpray Beginning PHP 1 September 8th, 2003 02:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.