Mercurial > hg > digilib-old
view client/digitallibrary/digilib.jsp @ 808:ae8e98c479d5 jquery
stub for new plugins; overlay div for regions plugin
author | hertzhaft |
---|---|
date | Sun, 20 Feb 2011 13:24:49 +0100 |
parents | 1b7a6c0b2da8 |
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.DigilibRequest dlRequest = new digilib.servlet.DigilibRequest(request); // check if authentication is needed and redirect if necessary docBean.doAuthentication(dlRequest, response); String digiURL = "digimage.jsp?" + dlRequest.getAsString(); %><html> <head> <title>Digital Document Library</title> </head> <frameset cols="*,90" border="0" onload="pageFrame.show()"> <frame name="mainFrame" src="<%= digiURL %>" scrolling="auto"> <frameset rows="25,*" border="0"> <frame name="pageFrame" src="oldskin/pageWin.html" scrolling="no" noresize> <frame name="rightFrame" src="oldskin/dlMenu.html" scrolling="no" noresize> </frameset> </frameset> </html>