Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/util FileUploadServlet.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/util FileUploadServlet.java

Author dlr
Full name Daniel Rall
Date 2000-11-13 14:11:16 PST
Message User: dlr
  Date: 00/11/13 14:11:16

  Modified: java/org/joist/util FileUploadServlet.java
  Log:
  Removed step--it didn't add much value or clarity.
  
  Revision Changes Path
  1.3 +2 -5 joist/java/org/joist​/util/FileUploadServ​let.java
  
  Index: FileUploadServlet.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/util/FileUploa​dServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FileUploadServlet.java 2000/11/13 22:07:42 1.2
  +++ FileUploadServlet.java 2000/11/13 22:11:16 1.3
  @@ -72,7 +72,7 @@
    * </pre>
    *
    * @author <a href="mailto:dlr@col​lab.net">Daniel L. Rall</a>
  - * @version $Id: FileUploadServlet.java,v 1.2 2000/11/13 22:07:42 dlr Exp $
  + * @version $Id: FileUploadServlet.java,v 1.3 2000/11/13 22:11:16 dlr Exp $
    *
    * Copyright (c) 2000 CollabNet, Inc.
    */
  @@ -114,11 +114,8 @@
               // Parse and save the uploaded files.
               FileUpload upload = new FileUpload(conn, ctx, myProperties);
   
  - // Get a list of file handles.
  - List files = upload.getFiles();
  -
               // Add references to the saved files to the WebContext.
  - ctx.put("fileNames", files);
  + ctx.put("fileNames", upload.getFiles());
           }
           catch (Exception e)
           {

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/util FileUploadServlet.java dlr Daniel Rall 2000-11-13 14:11:16 PST
Messages per page: