Project

General

Profile

« Previous | Next » 

Revision 2742

Bug #2207. Add AdvancedSearchServlet to support Metacat Advanced Search interface.

View differences:

lib/web.xml.tomcat3
93 93
      <load-on-startup>5</load-on-startup>
94 94
    </servlet>
95 95

  
96
    <servlet>
97
        <servlet-name>AdvancedSearchServlet</servlet-name>
98
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
99
        <load-on-startup>2</load-on-startup>
100
    </servlet>
101

  
96 102
    <!--
97 103
    <servlet>
98 104
      <servlet-name>HarvesterServlet</servlet-name>
......
151 157
        <url-pattern>/harvesterRegistration</url-pattern>
152 158
    </servlet-mapping>
153 159
    
160
    <servlet-mapping>
161
        <servlet-name>AdvancedSearchServlet</servlet-name>
162
        <url-pattern>/advancedSearchServlet</url-pattern>
163
    </servlet-mapping>
164

  
154 165
    <!-- Define the default session timeout for your application,
155 166
         in minutes.  From a servlet or JSP page, you can modify
156 167
         the timeout for a particular session dynamically by using
lib/web.xml.tomcat4
68 68
      <load-on-startup>1</load-on-startup>
69 69
    </servlet>
70 70

  
71
    <servlet>
72
        <servlet-name>AdvancedSearchServlet</servlet-name>
73
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
74
        <load-on-startup>2</load-on-startup>
75
    </servlet>
76

  
71 77
    <!--
72 78
    <servlet>
73 79
      <servlet-name>HarvesterServlet</servlet-name>
......
109 115
        <url-pattern>/harvesterRegistration</url-pattern>
110 116
    </servlet-mapping>
111 117

  
118
    <servlet-mapping>
119
        <servlet-name>AdvancedSearchServlet</servlet-name>
120
        <url-pattern>/advancedSearchServlet</url-pattern>
121
    </servlet-mapping>
122

  
112 123
    <session-config>
113 124
      <session-timeout>30</session-timeout>
114 125
    </session-config>
lib/web.xml.tomcat5
68 68
      <load-on-startup>1</load-on-startup>
69 69
    </servlet>
70 70

  
71
    <servlet>
72
        <servlet-name>AdvancedSearchServlet</servlet-name>
73
        <servlet-class>edu.ucsb.nceas.metacat.advancedsearch.AdvancedSearchServlet</servlet-class>
74
        <load-on-startup>2</load-on-startup>
75
    </servlet>
76

  
71 77
    <!--
72 78
    <servlet>
73 79
      <servlet-name>HarvesterServlet</servlet-name>
......
114 120
        <url-pattern>/harvesterRegistration</url-pattern>
115 121
    </servlet-mapping>
116 122

  
123
    <servlet-mapping>
124
        <servlet-name>AdvancedSearchServlet</servlet-name>
125
        <url-pattern>/advancedSearchServlet</url-pattern>
126
    </servlet-mapping>
127

  
117 128
    <session-config>
118 129
      <session-timeout>30</session-timeout>
119 130
    </session-config>

Also available in: Unified diff