I did not mention this, but I did change the filename to use and underscore char instead of a dash, but I still get the same error. THat is why I was wondering about WEB-INF.
best, -Rob > -----Original Message----- > From: Robert Koberg [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 12:22 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Templates object created but still > TransformerConfigurationException > > > When I set the template I use the full path to the file: > file:/home/gudgeon/sites/master/WEB-INF/tool/site_chooser.xsl > // /WEB-INF/tool/site_chooser.xsl > String value = (String) CONTEXT.getInitParameter("site_chooser"); > xsl = CONTEXT.getResource(value).toString(); > > Since I am not in the same directory as the servlet will the base name use > the entire URI? If this is the case, it is a MAJOR problem > because I cannot > rename WEB-INF. Is this the case? > > WEB-INF in a j2ee servlet container is a protected directory. > ANything below > will be blocked by an http request. So I keep all my XML content and XSL > stylesheets under there. > > Note: this works fine when I don't use templates. > > best, > -Rob > > > > -----Original Message----- > > From: Tom Amiro [mailto:[EMAIL PROTECTED]] > > Sent: Friday, October 05, 2001 12:05 PM > > To: Robert Koberg > > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: Re: Templates object created but still > > TransformerConfigurationException > > > > > > Hi Robert, > > > > Thanks for sending the files. I know what the problem is and > > you can work around it for now. The stylesheet has a hypen > > in the name (site-chooser.xsl). The generated class file > > and auxilliary files get the basename site_chooser. So > > the class is not being found. For now could you name > > your stylesheets without any hyphens in them? > > > > I know realize that this problem is a duplicate of > > bug 2399 on "ClassLoaders for WAS Often Fail on compiled > > classes". I'll add some info to that bug. > > > > Tom > > >
