more.jsp revision 1478
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinThe contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCommon Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinYou may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSee LICENSE.txt included in this distribution for the specific
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinlanguage governing permissions and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinWhen distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinfile and include the License file at LICENSE.txt.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinIf applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinfields enclosed by brackets "[]" replaced with your own identifying
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox Userinformation: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCopyright 2010 Sun Microsystems, Inc. All rights reserved.
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark AndrewsUse is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinPortions Copyright 2011 Jens Elkner.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein--%><%@page import="
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein/* ---------------------- more.jsp start --------------------- */
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cfg = PageConfig.get(request);
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein QueryBuilder qbuilder = cfg.getQueryBuilder();
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Query tquery = qbuilder.build();
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein if (tquery != null) {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Context sourceContext = new Context(tquery, qbuilder.getQueries());
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User%><p><span class="pagetitle">Lines Matching <b><%=
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Util.htmlize(tquery.toString()) %></b></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div id="more" style="line-height:1.5em;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sourceContext.getContext(new FileReader(cfg.getResourceFile()), out,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein request.getContextPath() + Prefix.XREF_P, null, cfg.getPath(),
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User null, false, null);
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User } catch (Exception e) {
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User Logger.getLogger("more.jsp").log(Level.WARNING, e.getMessage());
8a8a1fe98c89d0c683387b15a93b36ee7fe34b77Tinderbox User/* ---------------------- more.jsp end --------------------- */