Project

General

Profile

« Previous | Next » 

Revision 9014

add Annotator Store implementation -- pass through to D1 API for the AnnotatorJS API

View differences:

web.xml.tomcat6
218 218
      </init-param>
219 219
      <load-on-startup>20</load-on-startup>
220 220
    </servlet>
221
    
222
    <!-- annotator servlet -->
223
    <servlet>
224
      <servlet-name>annotatorServlet</servlet-name>
225
      <servlet-class>edu.ucsb.nceas.metacat.annotation.store.AnnotatorRestServlet</servlet-class>
226
      <init-param>
227
        <param-name>debug</param-name>
228
        <param-value>1</param-value>
229
      </init-param>
230
      <init-param>
231
        <param-name>listings</param-name>
232
        <param-value>true</param-value>
233
      </init-param>
234
      <load-on-startup>20</load-on-startup>
235
    </servlet>
236
    
237
    <servlet-mapping>
238
        <servlet-name>annotatorServlet</servlet-name>
239
        <url-pattern>/annotator</url-pattern>
240
    </servlet-mapping>
241
    
242
    <servlet-mapping>
243
        <servlet-name>annotatorServlet</servlet-name>
244
        <url-pattern>/annotator/*</url-pattern>
245
    </servlet-mapping>
221 246
  
222 247
    <servlet-mapping>
223 248
        <servlet-name>metacat</servlet-name>

Also available in: Unified diff