• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XSL Transformation

 
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using Xerces from within a servlet to do a transformation of an XML file to HTML with some XSL style sheets:
InputStream in = getServletContext().getResourceAsStream(THE_XSL_FILE);
The problem is that THE_XSL_FILE has some import statements which are failing because WebSphere 5 tries to look for them in its root, when really I have located them (and THE_XSL_FILE) in the web application context root.
java.io.FileNotFoundException: C:\Program Files\WebSphere\AppServer\the_included_file.xsl
Any suggestions are most appreciated.
Note: my "authentication" problem is still outstanding, I'll be getting back to it at a later date soon.
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
s/xerces/xalan
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic