Tuesday, June 11, 2002 12:05 AM
OK , first of all u have to define your problem more clear.
do u want to upload a file?
becuase i didn't understand what u meant about BROWSE? .
if u wish to let your user upload a file u have to do the following steps.
- make a form in your jsp page
- the receving servlet (or jsp page) must read the InputStream of the file and parse the file.
you can read the rfc about how to upload a file here
- you can use external java packages (since servlet 2.3 spec doesn't come with support for that )
such as oreilly's upload file package.
- Start Uploading!!! :-)
p.s - you can't let the user enter a file name ,
if don't think the protocol allows it. (security reasons.)
; is that what you wanted ?