Jun 13, '03 10:10:00AM • Contributed by: Anonymous
After a directory is deployed by Schrödinger, Schrödinger creates a file WEB-INF/web.xml. Modify this file with a text editor like this:
<?xml version="1.0" ?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <servlet> <servlet-name>webdav</servlet-name> <servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>readonly</param-name> <param-value>false</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>webdav</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app>Now, after the Web application is restarted in Schrödinger, the directory is available under WebDAV. You can observe each access to the directory in Schrödinger's HTTP Inspector.
Mount a WebDAV share under MacOS X ... Select from the Finder of the remote Mac Go -> Connect to server (or hit Command-K). Now in the appearing dialog, fill in the address field the URL under which Schrödinger makes the web application available (ie http://computer_name:8080 in the LAN or http://your-ip:8080 over the Internet). Now a new drive will appear on your desktop. Assure that your firewall does allow access to port 8080. If you want to add access control with passwords, read further information at Jakarta or Sun.
[robg adds: I haven't tested this one...]
