Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 14th, 2005, 03:01 AM
Authorized User
 
Join Date: Feb 2005
Location: Smithtown, NY, USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to IronStar
Default Had IO Exception with stylesheet file - Help!

Hi,

I have a stylesheet that produces the main menu for an application I am developing. The application generates the main menu by calling the XSL transformer from a tag in a JSP, and this ran without a problem. I wanted to each page to have a standard app header, so I created a template in a separate stylesheet that can be called from another stylesheet. All stylesheets reside in the same directory. I then included the header in the main menu stylesheet and called its template, and it produces the following error when I run my application:

Had IO Exception with stylesheet file: header.xsl

My application log file shows the following error in addition to the one above:

java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\header.xsl (The system cannot find the file specified)

If I change the xsl:include href to explicitly set the actual absolute path, the transformation proceeds without error.

I have worked with XSL before and I never had to specify an absolute path in an xsl:include. Does anyone know what's going on?

I am using the xalan-j_2_6_0 and xerces-2_6_2 jar files in my application. The app runs under Tomcat 5.0.

Thanks in advance for your help,
Tom
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete file System.IO.Delete error maricar C# 13 March 14th, 2014 06:50 AM
Java IO error bb1234_00 Java Basics 2 March 26th, 2007 07:25 AM
Change stylesheet file on the server side jdang67 ASP.NET 1.0 and 1.1 Professional 0 October 25th, 2005 10:29 AM
System.IO.FileNotFoundException cuca_macaii2000 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 5th, 2005 10:10 AM
C# File IO IsFileOpen WGP3 C# 4 August 4th, 2004 07:35 AM



All times are GMT -4. The time now is 12:27 PM.


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