• Post Reply Bookmark Topic Watch Topic
  • New Topic

XSL Transformation  RSS feed

 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
s/xerces/xalan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!