Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 87580 invoked from network); 6 Nov 2008 19:10:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 19:10:31 -0000 Received: (qmail 93741 invoked by uid 500); 6 Nov 2008 19:10:28 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 93729 invoked by uid 500); 6 Nov 2008 19:10:28 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 93718 invoked by uid 99); 6 Nov 2008 19:10:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 11:10:28 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 19:09:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KyAEn-0000n0-7m for user@struts.apache.org; Thu, 06 Nov 2008 11:09:49 -0800 Message-ID: <20367356.post@talk.nabble.com> Date: Thu, 6 Nov 2008 11:09:49 -0800 (PST) From: Sangeetha Rajagopal To: user@struts.apache.org Subject: RE: struts2 file (how to define files of type) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sangeetha.pr@gmail.com References: <1216185530.7828.17.camel@wesw-laptop> X-Virus-Checked: Checked by ClamAV on apache.org Hi Nicole, I am also facing same issue, Have you solved the problem. ? Let me know. Thanks, SAngeetha Rajagopal Nicole Luneburg wrote: > > oh bummer that sucks :( > I just read that comment from the link you sent me: > > "Current browsers generally ignore the ACCEPT attribute." > > Grrr > > Thanks for showing me that, I won't give up just yet so fingers crossed! > Maybe there's a workaround hehe! > > Nicole > > -----Original Message----- > From: Wes Wannemacher [mailto:wesw@wantii.com] > Sent: Wednesday, 16 July 2008 2:49 PM > To: Struts Users Mailing List > Subject: Re: struts2 file (how to define files of type) > > I could be wrong, but I don't think there is a reliable method to > accomplish what you're looking for... > > http://htmlhelp.com/reference/html40/forms/input.html#file > > Although it looks like it's part of the spec, I think browsers ignore > attempts at setting "accept" > > > > On Wed, 2008-07-16 at 14:06 +0930, Nicole Luneburg wrote: >> Hi all, >> >> Got another prob that I've also been trying to fix for a while ... >> I have a file upload tag like: >> >> >> >> I want to be able to specify what types of files are shown in the File >> Upload dialogue's "Files of type" field. >> Right now it just says "All Files". I want to limit this to say *.csv >> files. >> >> I have tried adding this: >> >> accept="application/csv" >> >> also tried: >> >> accept="csv" >> >> but none of these appears to change anything at all. >> >> What am I doing wrong? >> >> Thanks! >> Nicole >> >> ________________________________ >> The contents of this email are confidential and may be subject to legal >> or professional privilege and copyright. No representation is made that >> this email is free of viruses or other defects. If you have received this >> communication in error, you may not copy or distribute any part of it or >> otherwise disclose its contents to anyone. Please advise the sender of >> your incorrect receipt of this correspondence. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > > The contents of this email are confidential and may be subject to legal or > professional privilege and copyright. No representation is made that this > email is free of viruses or other defects. If you have received this > communication in error, you may not copy or distribute any part of it or > otherwise disclose its contents to anyone. Please advise the sender of > your incorrect receipt of this correspondence. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > > -- View this message in context: http://www.nabble.com/struts2-file-%28how-to-define-files-of-type%29-tp18480113p20367356.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org