tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller" <markrmil...@gmail.com>
Subject Re: load files on tomcat
Date Fri, 13 Oct 2006 19:05:20 GMT
> ,
> you could use ServletContext.getRealPath( ).  That will return the
> absolute path to the file, but only if the webapp isn't packed up as .war.
>
> --David
>
>
Why is this the case? Doesn't Tomcat extract to war to a webapp/warname
folder when it first accesses it?

- Mark

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message