-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul,
On 2/11/2010 12:41 PM, Paul Chany wrote: > I want to make such application that allow users from the LAN's > machines access just one directory (folder) that is on the > Tomcat server machine. > > Why is this so important for me? > In the classroom there are PC boxes with MS Windows systems, and a > cable modem/router add IP addresses for the PC boxes. > > In this environment one PC box is mine (I'm the teacher) so my pupils > can access my shared folders from only -say 5-6 Windows boxes but > there are 11 boxes (11 pupils). Wait, why can only some of the "Windows boxes" (clients) access your "PC box" (the server)? I would think that if you just want to have shared folders, you ought to be able to do that using standard Microsoft Windows Network File Sharing (SMB). > So I must to copy my shared folders to another PC box because for > those pupils who can't access my shared folders on the first PC box. Uh, that doesn't sound right. Can you explain in more detail? Why can't all clients contact the server? If they can't contact your server, now, why do you think they would be able to contact the server if it were running Tomcat? > So, I think, if I could make some web application on Tomcat server, > that allow for all of my pupils to access my 'shared' folders that > would be great! If you need to do this via HTTP, then this is called "WebDAV" and there are several products that exist that don't require you to write any code. One of them is Apache httpd, which ships with a module called mod_webdav, that can be used in conjunction with mod_auth_* to do user authentication. I highly recommend this solution. Tomcat does have a WebDAV servlet. You can read about it, here: http://wiki.apache.org/tomcat/Tomcat/WebDav I don't' believe using Tomcat will give you any advantage over Apache httpd, and my guess is that the configuration will be more involved. > Is this possible anf if it is, how can I make such web application? If you really want to write something like this, we can help you. But, please, first investigate your other options, first. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkt0aj4ACgkQ9CaO5/Lv0PBs3wCfdWxCbtnEcm8cnWqGL+7f0A6L jOsAn0S72WXi3sk8DU3LqIcIc/9p0MAP =0L3W -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org