1 Reply Latest reply on Nov 1, 2012 7:30 PM by Derek Croxton

    How to load a file packaged in the .esb?

    Derek Croxton Newbie

      I'm trying to load an XSLT file from the .esb package.  (This is for a custom action, ignore for the moment why I'm not doing an XsltAction.)  The base path, for some reason, is jboss-as\bin\, which is obviously not in the .esb, and when I try to use a relative path that goes up a directory ("../"), I get a MalformedURL exception.  A servlet would have a context, but my class is not a servlet, so I don't know how to get at a file inside the .esb.  I don't think this is an unusual thing to do, but obviously I have no idea how to do it, and I would appreciate any help.