mich
07-25-2008, 12:32 PM
hello,
I have a java server running and waiting for connections:
connection = server.accept();
From IE I type index.html to connect to server: how can I list in java the content of (eg "c:\server\bin\file1, file2, file3") server directory?
connection = server.accept();
if (request.filename == " index.html") printTheServerDirectotry....
THanks in advance,
I have a java server running and waiting for connections:
connection = server.accept();
From IE I type index.html to connect to server: how can I list in java the content of (eg "c:\server\bin\file1, file2, file3") server directory?
connection = server.accept();
if (request.filename == " index.html") printTheServerDirectotry....
THanks in advance,