tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <Wendy.Sm...@asu.edu>
Subject RE: Problem with JSTL on W2k
Date Fri, 17 Jan 2003 14:47:58 GMT
Holger wrote:
> For this issue tomcat needs a temporary folder. 
> This seems to be c:\winnt in the case of a service. The temp dir is
> defined by the java property "java.io.tmpdir".

Holger, here's post that might be of use:

On January 15, 2003, Jake wrote:
> Use what the servlet spec provides for you...
>
> String tempdir = ""+context.getAttribute("javax.servlet.context.tempdir");
>
> That will give you the path to the temp directory provide for your 
> application which, if the server claims to support the servlet spec,
*will* 
> exist.  This will make it so you can read and write files on any system 
> without worrying about any platform specifics (theoretically).

HTH,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management


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