haii friends..
i want to search for a file, which resides in my own system using jsp...that is, when i click a button, a search brower is to be displayed which showing all my folders in my system and from that i want to search for the needed file...Is this possibe in jsp???

haii friends..
i want to search for a file, which resides in my own system using jsp...that is, when i click a button, a search brower is to be displayed which showing all my folders in my system and from that i want to search for the needed file...Is this possibe in jsp???

There is this tag:

<form action="">
     File: <input type="file" />
</form>

Of course you can add more attributes. (name, size).

Here is a tutorial I like to use for html:

http://w3schools.com/html/default.asp

You might want to search in what object to get the file from the request. I don't remember it right now

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.