From: <bra...@us...> - 2010-05-28 03:25:34
|
Revision: 3128 http://archive-access.svn.sourceforge.net/archive-access/?rev=3128&view=rev Author: bradtofel Date: 2010-05-28 03:25:28 +0000 (Fri, 28 May 2010) Log Message: ----------- Added config for wrapper JSP for the accesspoint Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java 2010-05-28 03:24:40 UTC (rev 3127) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/AccessPoint.java 2010-05-28 03:25:28 UTC (rev 3128) @@ -104,6 +104,8 @@ private String staticPrefix = null; private String queryPrefix = null; private String replayPrefix = null; + + private String wrapperJsp = "/WEB-INF/template/UI-wrapper.jsp"; private String refererAuth = null; @@ -123,7 +125,6 @@ private ExclusionFilterFactory exclusionFactory = null; private BooleanOperator<WaybackRequest> authentication = null; - protected boolean dispatchLocal(HttpServletRequest httpRequest, HttpServletResponse httpResponse) @@ -544,8 +545,23 @@ public String getQueryPrefix() { return getBestPrefix(queryPrefix,staticPrefix,replayPrefix); } + /** + * @return the String url prefix to use when generating self referencing + * replay URLs + */ + public String getWrapperJsp() { + return wrapperJsp; + } /** + * @param wrapperJsp the .jsp file responsible for generating the HTML + * wrapper for content. + */ + public void setWrapperJsp(String wrapperJsp) { + this.wrapperJsp = wrapperJsp; + } + + /** * @param urlRoot explicit URL prefix to use when creating ANY self * referencing URLs * @deprecated use setQueryPrefix, setReplayPrefix, setStaticPrefix This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |