Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 14430 invoked from network); 3 Mar 2009 02:11:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 02:11:20 -0000 Received: (qmail 89208 invoked by uid 500); 3 Mar 2009 02:11:19 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 89178 invoked by uid 500); 3 Mar 2009 02:11:19 -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 89167 invoked by uid 99); 3 Mar 2009 02:11:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 18:11:19 -0800 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of loren.cahlander@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 02:11:09 +0000 Received: by wf-out-1314.google.com with SMTP id 25so2840817wfc.21 for ; Mon, 02 Mar 2009 18:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=VW940GIl207ZCKDcfnIYu6w+HEmsu7IO3UMsXOk1h5E=; b=UrZ+z6uwE/F6zdJtyOiKtM6VU0gW81oBUxVOoeNNml08DIScfFeA72sWYhdZKz7Ul9 48+WT0U4X/BEw6tzzT5vIfbSKfNiHVyrRl3UC2f04FXWv/wV3F/tLYXCGfPTY7RoP7kR VAG/sUYsGD2GQAVMpkdSeEnpM13NfL5WrD23E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=G+UbP1LuKbmGEe8V3UfifEskMTJ5Bk0XmcdbXY87JoE3KCFjxrQ0KzJMoKL7MdeJYA jBubHwZmZt373caF2OSIuHWULC1kQ9vK0JF35UxJlTIKQpzxuGHTFP29TxRaIYFmdRly yqFPPppOcXQsIqByRyS0A8849M9Z5NgcLIGjc= Received: by 10.142.215.5 with SMTP id n5mr3322625wfg.292.1236046247519; Mon, 02 Mar 2009 18:10:47 -0800 (PST) Received: from ?192.168.0.5? (pancho.cahlander.com [207.195.220.34]) by mx.google.com with ESMTPS id 22sm7703546wfg.3.2009.03.02.18.10.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Mar 2009 18:10:46 -0800 (PST) Message-Id: <3FABBC39-759A-4F58-A4AC-8A41A047A7C8@gmail.com> From: Loren Cahlander To: uima-user@incubator.apache.org In-Reply-To: <991df1420903021747p488ef409naacc4e805b9ddf26@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-2-40985596 Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Is there an example of a ResultSpecFile in the SimpleServer? Date: Mon, 2 Mar 2009 20:10:23 -0600 References: <991df1420903021747p488ef409naacc4e805b9ddf26@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-2-40985596 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Tong, I am using the DescriptorPath parameter in the web.xml file: simple-server-test org.apache.uima.simpleserver.servlet.SimpleServerServlet DescriptorPath WEB-INF/resources/descriptors/test.xml Where test.xml is an aggregate org.apache.uima.java false test 1.0 WhitespaceTokenizer HmmTagger true true false Loren Cahlander On Mar 2, 2009, at 07:47 PM, Tong Fin wrote: > 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 --Apple-Mail-2-40985596--