Hi,

Is the definition of the radio tag in the struts-form tag library definition
missing the value declaration or is it just me???  The source for the tag
appears to support the value attribute, however the tld does not declare it.

Anyone...

Steve... 

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 3:59 PM
To: [EMAIL PROTECTED]
Subject: Re: File upload taglib doesn't compile under tomcat 3.2


>         //get a handle to some temporary file and open
>         //a stream to it
>         String tempDir = servlet.getTempDir();
>         if (tempDir == null) {
>             tempDir = System.getProperty("java.io.tmpdir");
>         }
>

Michael,

A servlet container implementing 2.2 or later is required to provide a
servlet context attribute named "javax.servlet.context.tempdir" (an object
of type java.io.File) that is a writeable directory that this webapp can
use for temporary files.  It might be better do use this, rather than the
"java.io.tmpdir" directory which is global to the entire application server
you are running in.

Craig

Reply via email to