Mercurial > hg > digilib-old
view webapp/src/main/webapp/digicat.jsp @ 1131:c1e7821d3c68
fix bug in path of arrow-images and problem with nested options.
author | robcast |
---|---|
date | Tue, 13 Nov 2012 17:35:32 +0100 |
parents | 7779b37d1d05 |
children |
line wrap: on
line source
<%@ page language="java" %><%! // authentication stuff - robert // ----------------------------- // create DocumentBean instance for all JSP requests digilib.servlet.DocumentBean docBean = new digilib.servlet.DocumentBean(); // initialize DocumentBean instance in JSP init public void jspInit() { try { // set servlet init-parameter docBean.setConfig(getServletConfig()); } catch (javax.servlet.ServletException e) { System.out.println(e); } } %><% // parsing the query // ----------------- digilib.servlet.DigilibServletRequest dcRequest = new digilib.servlet.DigilibServletRequest(request); // check if authentication is needed and redirect if necessary docBean.doAuthentication(dcRequest, response); // set number of pages dcRequest.setValue("pt", docBean.getNumPages(dcRequest)); String baseUrl = dcRequest.getAsString("base.url"); %> <html> <head> <title>Digital Document Library - Digicat</title> </head> <frameset cols="*,90" border="0"> <frame name="mainFrame" src="oldskin/dcMain.jsp?<%= dcRequest.getAsString() %>" scrolling="auto"> <frame name="rightFrame" src="oldskin/dcMenu.html" scrolling="no" noresize> </frameset> </html>