On 26/07/2010 03:20, Ivan wrote: > Hi, > Seems that the doGetRealPath method in the FileDirContext returns the > path directly without checking the target file or folder exists, so is it > expected or file checking is required ?
I don't see anything in the Servlet specification that says that the real path has to exist. Do you? Mark > ---> > @Override > protected String doGetRealPath(String path) { > File file = new File(getDocBase(), path); > return file.getAbsolutePath(); > } > <--- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org