Is there a better way to create an uploaded document on the server using
FormFile in the Action class?

        if (formFile != null)
        {
            File file = new File("/apps/dev/weblogic/weblogic/myserver/ms3/"
+ formFile.getFileName());
            RandomAccessFile ras = new RandomAccessFile(file, "rw");
            ras.write(formFile.getFileData());
        }




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to