Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 1968 invoked from network); 3 Mar 2009 01:47:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 01:47:54 -0000 Received: (qmail 71229 invoked by uid 500); 3 Mar 2009 01:47:53 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 71195 invoked by uid 500); 3 Mar 2009 01:47:53 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 71184 invoked by uid 99); 3 Mar 2009 01:47:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 17:47:53 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tong.fin@gmail.com designates 209.85.217.166 as permitted sender) Received: from [209.85.217.166] (HELO mail-gx0-f166.google.com) (209.85.217.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 01:47:46 +0000 Received: by gxk10 with SMTP id 10so4924229gxk.12 for ; Mon, 02 Mar 2009 17:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Mi0N4D5mXFTNIRtqhWr7NTJJrmJCqO503fGDAFadd+E=; b=MkWVJyRYuUEdDGBNb/XSwUyWzDHzf+yBsqeVS365eR5jp607v33EBeu5pT1GFtxueL LwyTc7pOCX4pUVEe1fDqqwIwWMmux8HxofCILSWrMOZOuGzU2+mmKXgkAyukkd58BPiC yfJlhjWo8ORLq/g3B4USmgkvQrBl7jCi45JWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Qoo1/ErE61KBOztRhd1YOq/7QovTt/Y28ICm7QNXiidwN42+paT//DxmLqmPLKf0Ua WlcbiIzwt4bSNdwfMimiLrDJ2t2+TvBmPJziABjSFb6SKzwowzEuR/kp/GHGEegzFZ0j XvFkmEj/EqeqQjI+qAGucbEzgx86S8Nr+2Sgo= MIME-Version: 1.0 Received: by 10.231.20.5 with SMTP id d5mr3434894ibb.54.1236044845402; Mon, 02 Mar 2009 17:47:25 -0800 (PST) In-Reply-To: References: Date: Mon, 2 Mar 2009 20:47:24 -0500 Message-ID: <991df1420903021747p488ef409naacc4e805b9ddf26@mail.gmail.com> Subject: Re: Is there an example of a ResultSpecFile in the SimpleServer? From: Tong Fin To: uima-user@incubator.apache.org Content-Type: multipart/alternative; boundary=000325575a36efca1e04642d1ded X-Virus-Checked: Checked by ClamAV on apache.org --000325575a36efca1e04642d1ded Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Loren, In the UIMA Simple Server User Guide documentation, there is a description on how to use the "WhitespaceTokenizer" (also in the sandbox) as a simple service. You can find the example of web.inf and ResultSpecFile for "WhitespaceTokenizer" in the following directory of the Simple Server project: SimpleServer/src/main/resources/samples -- Tong On Mon, Mar 2, 2009 at 8:15 PM, Loren Cahlander wrote: > I am looking for an example of a ResultSpecFile entry for the SimpleServer > in the Sandbox? Does anyone have an example? > > org.apache.uima.simpleserver.servlet.SimpleServerServlet.initServer() > > String resultSpecParamValue = getInitParameter("ResultSpecFile"); > if (resultSpecParamValue != null) { > resultSpec = new File(this.baseWebappDirectory.getAbsoluteFile(), > resultSpecParamValue); > } > > > Thank you, > > Loren Cahlander > > -- Tong --000325575a36efca1e04642d1ded--