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 Spring in Action this week in the Spring 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: 42277
    
  64
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 - my free Android networking tools app
rajanikanth bhagavan kanth
Ranch Hand

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

Joined: Jan 10, 2002
Posts: 61424
    
  67

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: FileUpload problem