readConfig()
.
- *
- * @see readConfig()
- */
- public DigilibServletConfiguration(ServletContext c) throws Exception {
- readConfig(c);
}
/**
* read parameter list from the XML file in init parameter "config-file" or
* file digilib-config.xml
+ * @throws IOException
+ * @throws SAXException
*/
- @SuppressWarnings("unchecked")
- public void readConfig(ServletContext c) throws Exception {
+ public void readConfig(ServletContext c) throws SAXException, IOException {
/*
* Get config file name. The file name is first looked for as an init
@@ -249,21 +212,126 @@
dirs[j] = ServletOps.getFile(dirs[j], c);
}
}
- // initialise static DocuImage class instance
- DigilibServletConfiguration.docuImageClass = (Classcurrently open requests | <%= dlConfig.openRequestCnt.get() %> | -(including this) | -
total requests | <%= dlConfig.webappRequestCnt.get() %> | -- |
total runtime | <%= (System.currentTimeMillis() - dlConfig.webappStartTime)/1000 %> | -s (<%= dlConfig.webappRequestCnt.get() / (float)((System.currentTimeMillis() - dlConfig.webappStartTime)/1000) %> req/s) |
Supported image types