applets and jsps

How want the following to do in applets how to do this.

I want use this applet in jsp.

When client clicks on the button or Browse button i want to show a Open Dialog box or Window will be opend in that window i want to show the file stored on server side(in particular folder only not all files on the server) for the selection after that i want to take file name(path of the file) selected by client.

how to use applet with jsp.

thanks

[467 byte] By [b_prasada] at [2007-10-2 15:30:41]
# 1

http://forum.java.sun.com/thread.jspa?threadID=714720&messageID=4131211#4131211

http://forum.java.sun.com/thread.jspa?threadID=715965&messageID=4136873#4136873

http://forum.java.sun.com/thread.jspa?threadID=717829&messageID=4145029#4145029

http://forum.java.sun.com/thread.jspa?threadID=719743&messageID=4153427#4153427

http://forum.java.sun.com/thread.jspa?threadID=719841&messageID=4153787#4153787

Seeing your other posts it looks like you have no clue. The server and client communicate

through http and are 2 different machines (unless you are debugging). You cannot use java.io.File

in an applet because it runs on the client and you want to list files on the server.

You cannot use <input type=file to list files on the server because it lists files on the client.

As suggested before you can use java.io.File on the SERVLET/JSP to generate html code listing the

files that the client wants to see, or use a database listing location of a file and user rights to it.

And please do not post the same queston so many times, if you don't understand something place a response

to an existing thread.>

harmmeijera at 2007-7-13 14:55:43 > top of Java-index,Security,Signed Applets...