Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
How to upload only image file
Anup Srivastava
Greenhorn
Posts: 21
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i am uploading file in
jsp
page using ,
<input type="file" name="image" size="20" >
Now user can upload file of any type, but i want that user can upload only image files. How can i do it?
Eric Pascarello
author
Posts: 15385
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You posted this question twice. other copy is here:https://coderanch.com/t/117137/HTML-JavaScript/select-upload-file-type
closing this one.
Eric
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Images problem in FCK editor
Image Upload - Jsp or servlet
File upload filter
FileUpload and File type
To Save a file in a different location
More...