This tiny tool lets you use your favorite browser to read documentation released in ZIP format (as the one with JDK) without decompressing previously ZIP archive. It conserves disk space and reduces your total file count. It is a multithreaded application to maintain good performance.
It is only a one class program, and due to its simple approach, you must previously know the initial "index.html" (or the like) location. (Or use the one the program tells you, which will be incorrect if it cannot find some file called index.htm inside ZIP file).
In this ZIP file (from Mary Campione's Java Tutorial) the index.html (start document) is located on the root directory. To invoke the Zip2web tool you must write:
And then start your web browser and point to the URL:
You can now start your navigation inside this ZIP file. And all external links will also work as usual.
A computer running Zip2web can also be accesed from any other computer with a web browser.
Zip2web provides you a complete contents list if you specify the root file '/'. (e.g. http://localhost/).
Please note that the start URL will be suggested if you mistype one. Also, if you get a BindException (Address already in use) will be, probably, due to port 80 is already used (by your web server), simply select another free port (try:8080) and that's all. (In this case you must include the port number in the URL after a colon between the host name and the path. For example, if you use port 8080 the new url will be: http://localhost:8080/index.html).
If you think it can be useful, click here to download (2.4k only, including uncommented (oops) source code).
Or donwload JDK1.2 only new version (10k).
Below you'll find my email, please feel free to send me any comment about Zip2web.
Bugs Fixed and tricks