Hi
I am trying to use the classpathresource to load an XSL file... but I cannot get it to work...
This works fine:
File("./../webapps/tracker/WEB-INF/classes/com/acom/aproduct/incidents/fop", "incident2FO.xsl");
I have tried:
ClassPathResource resource = new ClassPathResource("incident2FO.xsl");
File xslFile = resource.getFile();
also:
"classpath*:/incident2FO.xsl"
"classpath:/com/acom/aproduct/incidents/incident2FO.xsl"
"classpath:com/acom/aproduct/incidents/incident2FO.xsl"
but none of these work..
Can anyone help?


Reply With Quote