From users-return-5290-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Nov 01 01:34:53 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 63534 invoked from network); 1 Nov 2007 01:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2007 01:34:53 -0000 Received: (qmail 23452 invoked by uid 500); 1 Nov 2007 01:34:40 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 23429 invoked by uid 500); 1 Nov 2007 01:34:40 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 23416 invoked by uid 99); 1 Nov 2007 01:34:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 18:34:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ultravi01@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2007 01:34:44 +0000 Received: by nf-out-0910.google.com with SMTP id g16so288596nfd for ; Wed, 31 Oct 2007 18:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=vlIK1zictADJtCfD53pen+ZqnA6Mx8bJ0vye+/v3Jcg=; b=iH5GpHg1Da4kamhA9zMV5fgrKMUr5qIpXLrLtLZqGL08BhF/KESqSlGp0WZ58Kvcl2N+K47y6URkdoRiFjllVXhKc3bIV+XYBjEg5ujTTkRrZRvLQ22kWM+/HM/GEv0y8iQUdpvHWKhekOP8A1xMpTFGDL0eA7qwrtTFoxR6hFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=me+8jHiejcAvNLN9iPsC111TGslPzrOgpua8Nog0/XF2OCc3OMAbDoGE8lBmXMdofq9EJYWzZGnSnsdbUgcwfuV81bBBaVQxK1aj7CpIrYMtqPZ5tJ1Y16gliESXX95mAWT+yIuYKRjlJi9EvvXKqGKL106V5AMopuylAfekAo4= Received: by 10.78.203.15 with SMTP id a15mr18100hug.1193880862379; Wed, 31 Oct 2007 18:34:22 -0700 (PDT) Received: by 10.78.153.11 with HTTP; Wed, 31 Oct 2007 18:34:22 -0700 (PDT) Message-ID: <92bf3b910710311834x2eac0891tb5ba0def68b49480@mail.gmail.com> Date: Wed, 31 Oct 2007 19:34:22 -0600 From: "Ryan Bales" To: users@jackrabbit.apache.org Subject: Image display MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10351_5128549.1193880862376" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10351_5128549.1193880862376 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline What is the best way to display an image stored within the repository on a website. I have been trying to find some examples of this but haven't had any luck. It would be greatly appreciated if someone could kindly show me an example servlet that handles binary and sets the correct mime type along with how I can run a xpath query and display it within jsp. I am pretty new at this, so please excuse the naive question! Best, Ryan ------=_Part_10351_5128549.1193880862376--