Mercurial > hg > digilib
diff client/digitallibrary/WEB-INF/web.xml @ 57:58d23f512c80
New DigilibServlet.jar with new version (with DigilibRequest object).
Changes in digilib, digicat, dlImage JSP. Initialization now done only
once in jspInit. Uses DigilibRequest object to convert old +++-style
requests to parameter-style requests and for BaseURL.
Prettyfied config files (no authentication is default).
author | robcast |
---|---|
date | Wed, 28 Aug 2002 20:17:35 +0200 |
parents | 2d8ed5252eb0 |
children | 3f8127e83943 |
line wrap: on
line diff
--- a/client/digitallibrary/WEB-INF/web.xml Wed Aug 28 20:00:21 2002 +0200 +++ b/client/digitallibrary/WEB-INF/web.xml Wed Aug 28 20:17:35 2002 +0200 @@ -3,15 +3,15 @@ "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> - <!-- General description of your web application --> - <display-name> + <!-- General description of your web application --> + <display-name> digilib - </display-name> - <description> + </display-name> + <description> This is the web frontend of the Digital Document Library. - </description> - <!-- The Scaler servlet --> - <servlet> + </description> + <!-- The Scaler servlet --> + <servlet> <servlet-name> Scaler </servlet-name> @@ -34,10 +34,9 @@ <load-on-startup> 5 </load-on-startup> - </servlet> - - <!-- We want to finger around with the default JSP servlet... --> - <servlet> + </servlet> + <!-- We want to finger around with the default JSP servlet... --> + <servlet> <servlet-name> doc-jsp </servlet-name> @@ -64,30 +63,27 @@ <load-on-startup> 3 </load-on-startup> - </servlet> - - <!-- The mapping for the Scaler servlet --> - <servlet-mapping> + </servlet> + <!-- The mapping for the Scaler servlet --> + <servlet-mapping> <servlet-name> Scaler </servlet-name> <url-pattern> /servlet/Scaler/* </url-pattern> - </servlet-mapping> - - <!-- The mapping for the JSP servlet --> - <servlet-mapping> + </servlet-mapping> + <!-- The mapping for the JSP servlet --> + <servlet-mapping> <servlet-name> doc-jsp </servlet-name> <url-pattern> *.jsp </url-pattern> - </servlet-mapping> - - <!-- region for authenticated access --> - <security-constraint> + </servlet-mapping> + <!-- region for authenticated access --> + <security-constraint> <web-resource-collection> <web-resource-name> Authenticated Digilib @@ -102,9 +98,9 @@ user </role-name> </auth-constraint> - </security-constraint> - <login-config> - <!-- + </security-constraint> + <login-config> + <!-- <auth-method>BASIC</auth-method> <realm-name>digilib</realm-name> --> @@ -119,5 +115,5 @@ /digilib-fail.html </form-error-page> </form-login-config> - </login-config> + </login-config> </web-app>