Simon Brooke wrote:
On Monday 02 Dec 2002 5:01 pm, Jeanfrancois Arcand wrote:
That's the proper behaviour. By default, a web application is only able
to read under the context under which it was deployed. If you want to
grant access to the /tmp !*be carefull*!, add the following in your
cata
Hi,
>However, if no value is specified in the web.xml, then currently the
>hard-coded default is /tmp; the thinking being this is it's usually a
safe
>place to write stuff.
How about, if no value is specified in web.xml, use
javax.servlet.context.tempdir? That's always available as if it were
sp
On Monday 02 Dec 2002 5:01 pm, Jeanfrancois Arcand wrote:
> That's the proper behaviour. By default, a web application is only able
> to read under the context under which it was deployed. If you want to
> grant access to the /tmp !*be carefull*!, add the following in your
> catalina.policy file:
>
Howdy,
Mr. Arcand already answered, but I wanted to add something: you can use
the directory indicated by context property
javax.servlet.context.tempdir as your temporary directory, rather than
hard-coding /tmp. See the servlet spec, section 3.7.1, for details.
Yoav Shapira
Millennium ChemInforma
That's the proper behaviour. By default, a web application is only able
to read under the context under which it was deployed. If you want to
grant access to the /tmp !*be carefull*!, add the following in your
catalina.policy file:
grant codeBase "file:${catalina.home}/webapps/<>/-" {
permis