DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31806>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31806 MalformedURLException in ApplicationContext.getResource [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Additional Comments From [EMAIL PROTECTED] 2004-10-20 17:55 ------- Then perhaps the problem is in ApplicationContext.java which returns the getRealPath by using file.getAbsolutePath(). The docbase in my context file uses forward-slashes to describe the path (//serverpath/webapp/webappname). If the specification indicates that a forward-slash should be used, then getRealPath should not be using getAbsolutePath, which returns a path with a back-slash. File file = new File(basePath, path); return (file.getAbsolutePath()); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]