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.
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".