source: Discovery_Service/trunk/exist/searchText.jsp @ 122

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/Discovery_Service/trunk/exist/searchText.jsp@125
Revision 122, 2.2 KB checked in by mguiterr, 15 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<%
2//Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ).
3//This software may be distributed under the terms of the
4//Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
5%>
6
7<%@ include file="header.jsp" %>
8<%@ page import="java.io.* , java.util.*" %>
9                  <FONT SIZE="+2">
10                  <CENTER>
11                    <font color="#000099" size="3" face="Arial, Helvetica, sans-serif"></font>
12                  </CENTER>
13</FONT>
14<center><TABLE width=65% cellpadding="2" cellspacing="2" BORDER="0" bordercolor="#CCCCCC" >
15  <TR>
16    <TD height="17%" colspan="4">&nbsp; </TD>
17  </TR>
18  <TR>
19    <TD height="17%"  colspan="4">&nbsp; </TD>
20  </TR>
21  <FORM NAME="SEARCH" ACTION="./Task" METHOD="POST">
22   <%
23    String refine = null;
24   
25    try
26    {
27        refine = request.getParameter("refine");
28        //out.print(refine);
29        //refine = request.getParameter("refine");
30    }
31    catch (Exception e)
32    {
33         out.print("Exception");
34    }
35    if (refine != null)
36    {
37%>
38
39    <INPUT TYPE="HIDDEN" NAME="task" VALUE="refine">   
40<%
41    }
42    else
43    {
44%>   
45    <INPUT TYPE="HIDDEN" NAME="task" VALUE="discovery">
46<%
47    }//END ELSE
48%>
49
50 
51    <INPUT TYPE="HIDDEN" NAME="dispSum" VALUE="false">
52    <INPUT TYPE="HIDDEN" NAME="search" VALUE="text">
53    <INPUT TYPE="HIDDEN" NAME="start" VALUE="1">
54    <INPUT TYPE="HIDDEN" NAME="orderInit" VALUE="">
55     <TR>
56        <TD width="60%" colspan=3 align="left" class="tablestyle">Full Text
57        <INPUT TYPE="TEXT" NAME="SEARCHSTRING" SIZE="50"></TD>
58      <TD class="tablerow" align="left" colspan="1" ><INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Search">
59      </TD>
60    </TR>
61   <TR>
62    <TD height="22%" colspan="3" class="tablerow">Wildcards *, ? &nbsp;&nbsp;
63      Character ranges [a-zA-Z] &nbsp; support</TD>
64    <TD width="27%" class="tablerow">
65      <select name="howmany">
66        <option value=10>10</option>
67        <option value=15>15</option>
68        <option value=30>30</option>
69        <option value=50>50</option>
70      </select>
71      Hits Displayed</TD>
72  </TR>
73  <TR>
74    <TD height="22" colspan=4 ><a href="searchTextAdvance.jsp">Advance
75      Search</a></TD>
76   </TR>
77 </FORM>
78</TABLE></center>
79<%@ include file="footer.jsp" %>
80
81
Note: See TracBrowser for help on using the repository browser.