aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes FileUpload problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "FileUpload problem" Watch "FileUpload problem" New topic
Author

FileUpload problem

rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Hi all,

In my application i have one file upload program.While clicking on the browse button i have to show only .doc files insted of showing all files in file dailog box.

Can you please suggest me how can i show only .doc files in dialog box

Regards
Bhagavan R
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
Please do not post the same question multiple times; I have deleted the other copy for you.

As to your question, this can't be done. The browser will always show all files in the directory; there's nothing your web app can do about that.


Ping & DNS - updated with new look and Ping home screen widget
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Tahnq
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

Originally posted by rajanikanth bhagavan kanth:
Tahnq

Tahnq?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
i mean to say thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FileUpload problem
 
Similar Threads
Path of a JavaMail attachment
Viewing a file using default application associated with it
How can i restrict the selecting file type to XML and TXT in file upload..
How can I bypass the download dialogue box while downloading a file.
How to open MS Word file in Internet Explorer using java