in a file server, calling the server ip from a browser displays the files in the www directory, with "Directory:/" header.
How can I change the design of this page ?
I can view the source but where is the place to change it ?
The default file name is index.html. If a request is made with a path to a folder then the server first checks whether there is an index.html file and if not it shows the directory files.
Do you know where the default html page is ? I don't know how to write it from scratch, I hope I could edit it (how to make a list of the files in the directory ?)
There is no default html page. The directory listing is created programmatically by the server. You can create something similar with a custom handler.
I have one small problem - Hebrew letters appear as "?". Pressing the link replaces the page with the default page and there it shows correctly. Is it because java does not support Hebrew ?