• Post Reply 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FileChooser Window

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

Can anyone tell me how to bring the FileChooser window( for example, if u click the Browse button in ur mail box to attach any file, u'l get a window through whicb u can access ur local hard disk to specify the source) in a servlet.

Actually im devoping a Knowledge Base where in one form the data about the file which has to updated into the server should given. i have a browse button in the form through which u can specify the source of the file which has to updated into the database which is present in the server.

with reagards
Swaminathan
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Can anyone tell me how to bring the FileChooser window( for example, if u click the Browse button in ur mail box to attach any file, u'l get a window through whicb u can access ur local hard disk to specify the source) in a servlet



A servlet runs on the server so can't present anything like this to the client.

You can do this however via HTML. Use an <input /> with the attribute "type=file".
 
Swaminathan Balasubramani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul,

Thank you so much.

Cheers!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic