Project

General

Profile

« Previous | Next » 

Revision 3780

Added by daigle over 16 years ago

Changes to remove ANT tokens for the turnkey install project

View differences:

index.jsp
28 28
 * convert an XML file showing the resultset of a query
29 29
 * into an HTML format suitable for rendering with modern web browsers.
30 30
 */
31
%>
31 32

  
33
<%@ include file="style/common/common-settings.jsp"%>
34

  
35
<% 
36

  
32 37
/**
33 38
 *  Does redirects depending on the "qformat" parameter passed in the request -
34 39
 *  redirect is to <web_context>/style/skins/{qformat}/index.jsp
35
 *  Defaults to <web_context>/style/skins/@default-style@/index.jsp if no value 
40
 *  Defaults to <web_context>/style/skins/DEFAULT_STYLE/index.jsp if no value 
36 41
 *  is provided for qformat
37 42
 */
38 43
 
39 44
String qformat     = request.getParameter("qformat");
40 45
String addedParams = "";
41 46

  
42
//if qformat has not been set, set its value to "@default-style@"
47
//if qformat has not been set, set its value to "DEFAULT_STYLE"
43 48
if (qformat==null) {
44
  qformat = "@default-style@";
49
  qformat = DEFAULT_STYLE;
45 50
  addedParams = "?qformat="+qformat;
46 51
}
47
	
48
String redirectURI = "@style-skins-relpath@/"+qformat+"/"+addedParams;
52

  
53
String redirectURI = "/style/skins/"+qformat+"/"+addedParams;
49 54
%>
55

  
50 56
<jsp:forward page="<%= redirectURI %>" />

Also available in: Unified diff