Oct 25th, 2010, 11:57 AM
Loading webscripts from classpath
My original location:
My classpath location:
This does not work, Surf does not find the webscript. Can anybody give me a hint?
Oct 26th, 2010, 08:18 AM
I've just done a quick test against RC2 and was able to resolve a WebScript located at:
Are you placing the WebScript directly under the classes directory or are you providing it in a JAR?
Oct 26th, 2010, 02:42 PM
I think it just dawned on me what the problem might be. I only placed the .js file in the classpath, but left the xml and ftl files where they were.
I guess Surf resolves the files relative to the xml descriptor. Will test that assumption.