Hi, Edmund Urbani wrote:
the getRealPath method simply returns a path inside the webapp's directory. eg. you can do getRealPath("images/someimg.jpg") and get the actual filesystem path for that file, so you can access it using java.io.File and do something with it. getRealPath("/") should give you the webapp directory itself. note that you probably should not use this method, if you ever want to be able to run your webapp directly from a .war file.
I know about the problem with the war file. That's the reason why I until today never used this method and apparently never read the Javadocs....
Thanks for the helpful answer. Regards Franz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
