Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 61650 invoked from network); 3 Jul 2003 18:03:35 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Jul 2003 18:03:35 -0000 Received: (qmail 20056 invoked by uid 97); 3 Jul 2003 18:06:02 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@nagoya.betaversion.org Received: (qmail 20049 invoked from network); 3 Jul 2003 18:06:02 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 3 Jul 2003 18:06:02 -0000 Received: (qmail 60847 invoked by uid 500); 3 Jul 2003 18:03:24 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 60791 invoked from network); 3 Jul 2003 18:03:24 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Jul 2003 18:03:24 -0000 Received: (qmail 20039 invoked by uid 50); 3 Jul 2003 18:05:51 -0000 Date: 3 Jul 2003 18:05:51 -0000 Message-ID: <20030703180551.20038.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: struts-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 21321] New: - new methods: getFilePathName() and setInputStream() X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21321 new methods: getFilePathName() and setInputStream() Summary: new methods: getFilePathName() and setInputStream() Product: Struts Version: 1.1 Final Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: File Upload AssignedTo: struts-dev@jakarta.apache.org ReportedBy: aaron.tam@gartner.com The file upload in struct is great. It is very handy. It will be nice to add two more methods: getFilePathName(): Currently the getFileName() methods only get the file name, I need to get the full path of the uploading file. Since my user always use the same name for the upload file, but putting them in different directory. setInputStream() will be handy if I'm writing some test with the Action and don't want to call the test from the WEB browser. Or you can let me know how to initialize the input stream in the FormFile. Thanks! Keep up the good work. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-dev-help@jakarta.apache.org